Skip to main content

Task

Type Alias Task 

Source
pub type Task = Pin<Box<dyn Future<Output = Option<Callback>> + Send>>;
Expand description

What Effect::Async awaits: on the shell’s executor natively, where it must be Send, and on the browser’s own loop on the Web.

Aliased Type§

#[repr(transparent)]
pub struct Task { /* private fields */ }