Skip to main content

subscribe

Function subscribe 

Source
pub fn subscribe(
    cb: impl FnMut(Frame) -> ControlFlow<()> + 'static,
) -> FrameHandle
Expand description

Subscribe in the current window. Dropping the returned handle cancels the subscription.

Day API ↩ Guides· daybrite.dev