[whatwg/dom] Define a 'PromiseController' and 'PromiseSignal' interface. (#434)

Fetch is sketching out a cancellation mechanism in whatwg/fetch#447, and
other specifications are interested in cargo-culting their way to similar
behaviors.

To that end, this patch defines a simple interface that provides enough
control for the simple case of cancellation, while paving the way for
more complex consumers like Fetch to tack on arbitrary complexity.
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/dom/pull/434

-- Commit Summary --

  * Define a 'PromiseController' and 'PromiseSignal' interface.

-- File Changes --

    M dom.bs (82)

-- Patch Links --

https://github.com/whatwg/dom/pull/434.patch
https://github.com/whatwg/dom/pull/434.diff

-- 
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

Received on Wednesday, 5 April 2017 11:42:28 UTC