Trait deno_core::CancelFuture
source · [−]pub trait CancelFuture where
Self: Future + Sized, {
fn or_cancel<H: RcLike<CancelHandle>>(
self,
cancel_handle: H
) -> Cancelable<Self>ⓘNotable traits for Cancelable<F>impl<F: Future> Future for Cancelable<F> type Output = Result<F::Output, Canceled>;
{ ... }
}