Function trillium_api::cancel_on_disconnect
source ยท pub fn cancel_on_disconnect<F, OH, TFC, Fut>(
handler: F,
) -> CancelOnDisconnect<F, OH, TFC>
Expand description
Construct a new CancelOnDisconnect
handler.
Alias for CancelOnDisconnect::new