Skip to main content

spawn_list

Function spawn_list 

Source
pub fn spawn_list(
    client: Client,
    on_done: impl FnOnce(Result<Vec<Route>, ClientError>) + Send + 'static,
)
Expand description

Runs list on a thread of its own, calling on_done with the result once it has finished. See this module’s own doc, and waypoints::signalk’s, for the callback shape.