Skip to main content

carry_out

Function carry_out 

Source
pub async fn carry_out(
    state: &AppState,
    event: DeepLinkOpenEvent,
    window: Duration,
    late: Box<dyn FnOnce(&DeepLinkOutcome) + Send>,
) -> Option<DeepLinkOutcome>
Expand description

Publish event and wait up to window for the window’s outcome. None when none came in time: the caller says queued, and late records the outcome if it comes before the event expires.