Type Definition Tokio
iced_futures::executor
type Tokio = Runtime;
feature="tokio"
A tokio runtime.
tokio
impl Executor for Tokio
fn new() -> Result<Self, Error>
Creates a new [Executor]. Read more
Executor
fn spawn(&self, future: impl Future<Output = ()> + Send + 'static)
Spawns a future in the [Executor]. Read more
fn enter<R>(&self, f: impl FnOnce() -> R) -> R
Runs the given closure inside the [Executor]. Read more