pub fn with_current_cancellation_token<R>(
func: impl FnOnce(&dyn CancellationToken) -> R,
) -> RExpand description
Executes a function that gets access to the current cancellation token
pub fn with_current_cancellation_token<R>(
func: impl FnOnce(&dyn CancellationToken) -> R,
) -> RExecutes a function that gets access to the current cancellation token