Skip to main content

install_frame_requester

Function install_frame_requester 

Source
pub fn install_frame_requester(
    f: impl Fn(RNode, Box<dyn FnOnce(FrameStamp)>) -> Box<dyn FnOnce()> + 'static,
)
Expand description

Install the native scheduler at launch. The requester MUST deliver asynchronously; tests may retain the callback and deliver chosen timestamps manually. Replaces no live registrations.