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 CompositeException, thus making sure that all references get canceled.
Builds a Cancelable reference from a sequence,
cancelling everything on cancel
.
Returns a dummy Cancelable that doesn't do anything.