pub use CancellationToken;
/// A Future that is resolved once the corresponding [`CancellationToken`] is cancelled.
pub type Cancelled<'a> = WaitForCancellationFuture;
/// A Future that is resolved once the corresponding [`CancellationToken`]
/// is cancelled.
///
/// This is the counterpart to [`Cancelled`] that takes
/// [`CancellationToken`] by value instead of using a reference.
pub type CancelledOwned = WaitForCancellationFutureOwned;