Trait rquickjs_core::ExecutorSpawner[][src]

pub trait ExecutorSpawner: Sized {
    type JoinHandle;
    fn spawn_executor(self, task: Executor) -> Self::JoinHandle;
}
This is supported on crate feature futures only.
Expand description

The trait to spawn execution of pending jobs on async runtime

Associated Types

The type of join handle which returns ()

Required methods

Spawn pending jobs using async runtime spawn function

Implementations on Foreign Types

This is supported on crate feature futures only.
This is supported on crate feature futures only.

Implementors

The async_std runtime for spawning executors.

The tokio async runtime for spawning executors.