pub fn worker<N, Fut>(name: N, fut: Fut) -> ChildBuilder<'static>Expand description
Creates a builder for a child task of the current process.
The ambient counterpart to SupervisorHandle::worker.
ยงPanics
ChildBuilder::spawn panics if it is called outside supervision. See spawn.