Skip to main content

start

Function start 

Source
pub fn start<F, R>(
    command: Command,
    cancellation: CancellationToken,
    register: F,
) -> Execution
where F: FnOnce(ChildIdentity) -> R + Send + 'static, R: Future<Output = Result<()>> + Send + 'static,
Expand description

Start an execution whose supervisor can be joined even if its result waiter is dropped.