Trait deno_graph::Executor
source · pub trait Executor {
// Required method
fn execute(
&self,
fut: Pin<Box<dyn Future<Output = ()> + 'static>>
) -> Pin<Box<dyn Future<Output = ()> + 'static>>;
}
Expand description
An executor for futures.
This trait allows deno_graph to run background tasks on the async executor.