pub trait TaskKind {
    fn launch_task<S>(
        spawner: &mut S,
        task_name: &'static str,
        subsystem_name: &'static str,
        future: Pin<Box<dyn Future<Output = ()> + Send + 'static, Global>>
    )
    where
        S: Spawner
; }
Expand description

Task kind to launch.

Required Methods§

Spawn a task, it depends on the implementer if this is blocking or not.

Implementors§