Function silkenweb::window::on_rejectionhandled

source ·
pub fn on_rejectionhandled(
    f: impl FnMut(PromiseRejectionEvent) + 'static
) -> EventCallback
Expand description

Add a rejectionhandled event handler at the window level.

This only has an effect on WASM targets.