pub type Default = Executor;
Expand description
A default cross-platform executor.
-
On native platforms, it will use:
iced_futures::backend::native::tokio
when thetokio
feature is enabled.iced_futures::backend::native::async-std
when theasync-std
feature is enabled.iced_futures::backend::native::smol
when thesmol
feature is enabled.iced_futures::backend::native::thread_pool
otherwise.
-
On Wasm, it will use
iced_futures::backend::wasm::wasm_bindgen
.
Aliased Typeยง
struct Default { /* private fields */ }