Interface for cancelables that are empty or already canceled.
Marker for cancelables that are dummies that can be ignored.
Builds a Cancelable that executes the given
callback
when calling cancel.
Builds a Cancelable.
Given a collection of cancelables, cancel them all.
Given a collection of cancelables, cancel them all.
This function collects non-fatal exceptions and throws them all at the end as a composite, in a platform specific way:
CompositeException
Builds a Cancelable reference from a sequence,
cancelling everything on cancel
.
Builds a Cancelable reference from a sequence,
cancelling everything on cancel
.
Returns a dummy Cancelable that doesn't do anything.
Builds a Cancelable out of a Scala Promise
, completing the
promise with the given Throwable
on cancel.
Wraps a collection of cancelable references into a Cancelable
that will cancel them all by triggering a trampolined async
boundary first, in order to prevent stack overflows.
Wraps a collection of cancelable references into a Cancelable
that will cancel them all by triggering a trampolined async
boundary first, in order to prevent stack overflows.