pub async fn interruptible_straight<T, E: From<InterruptError>>(
    rx: Receiver<()>,
    f: impl Future<Output = Result<T, E>>
) -> Result<T, E>
Expand description

You usually use interruptible or interruptible_sendable instead.