current_schedule
function · ferroui-system · v0.5.0
fn current_schedule() -> Option<std::sync::Arc<dyn Schedule>>
The schedule of the work that runs now on the current thread, which the schedule that runs it
set (set_current_schedule): in a dispatcher job, the dispatcher at the priority of the job.
None outside of such work. What SynchronizationContext.Current is for .NET code: a task
spawned with spawn_local takes it, and the code that posts back to where it started (the
reactive libraries) captures it.
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.