Re: [whatwg/dom] Define a 'CancelationController' and 'CancelationSignal' interface. (#434)

`CancelController` and `CancelError` might also be options.

@annevk: @rbuckton's https://github.com/rbuckton/prex/blob/master/docs/cancellation.md#new-cancellationtokensourcelinkedtokens has the `CancellationTokenSource` constructor take a list of `CancellationTokens` such that if any of those tokens is cancelled, the new source also gets cancelled. That's composition, right? @bterlson, is it necessary to build this into the API, or can users just call `token.register(() => source.cancel())`?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/434#issuecomment-292796425

Received on Sunday, 9 April 2017 16:33:05 UTC