Skip to main content

interruptible

Function interruptible 

Source
pub async fn interruptible<F: IntoFuture>(
    f: F,
) -> Result<F::Output, Interrupted>
Expand description

Makes a future interruptible.