pub trait RuntimeScheduler: Send + Sync {
// Required method
fn schedule_frame(&self);
}Expand description
Schedules work for the Compose runtime.
Implementations are responsible for triggering frame processing and executing background tasks on behalf of Compose. They must be safe to use from multiple threads.
Required Methods§
Sourcefn schedule_frame(&self)
fn schedule_frame(&self)
Request that the host schedule a new frame.