pub trait ExecutorSpawner: Sized {
    type JoinHandle;

    fn spawn_executor(self, task: Executor) -> Self::JoinHandle;
}
Available on crate feature futures only.
Expand description

The trait to spawn execution of pending jobs on async runtime

Required Associated Types

The type of join handle which returns ()

Required Methods

Spawn pending jobs using async runtime spawn function

Implementations on Foreign Types

Available on crate feature futures only.
Available on crate feature futures only.

Implementors

The async_std runtime for spawning executors.

The tokio async runtime for spawning executors.