iced::executor

Type Alias Default

Source
pub type Default = Executor;
Expand description

A default cross-platform executor.

  • On native platforms, it will use:

    • iced_futures::backend::native::tokio when the tokio feature is enabled.
    • iced_futures::backend::native::async-std when the async-std feature is enabled.
    • iced_futures::backend::native::smol when the smol 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 */ }