Function scope_request_cancellation

Source
pub async fn scope_request_cancellation<T>(
    cancellation: RequestCancellation,
    fut: impl Future<Output = T>,
) -> T
Expand description

Run fut with a request cancellation context installed.