context_schedule
function · ferroui-system · v0.5.0
fn context_schedule(context: std::sync::Arc<dyn SynchronizationContext>) -> std::sync::Arc<dyn Schedule>
context as a Schedule: its work is posted to the context (post, and post_local for
Schedule::schedule_local), and two adapters of the same context are the same schedule
(Schedule::identity). For code that still has a context, where a schedule is taken now.
Deprecated since 0.5.0. implement
ferroui_system::task::Scheduleinstead ofSynchronizationContext
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.