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
type JoinHandle
type JoinHandle
The type of join handle which returns ()
Required methods
fn spawn_executor(self, task: Executor) -> Self::JoinHandle
fn spawn_executor(self, task: Executor) -> Self::JoinHandle
Spawn pending jobs using async runtime spawn function
Implementations on Foreign Types
type JoinHandle = Task<()>
type JoinHandle = Task<()>
This is supported on crate feature
futures
only.This is supported on crate feature
futures
only.