- From: Ron Buckton <notifications@github.com>
- Date: Sun, 09 Apr 2017 12:29:39 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Sunday, 9 April 2017 19:30:13 UTC
@jyasskin: The semantics are a bit more complex, as it also handles registration of parts of the graph when the source is closed (reduces memory costs as callbacks can be garbage collected). It greatly simplifies a common pattern for moderate to advanced scenarios, but is only really useful if you have a shared and consistent cancellation API across many scenarios in an application. It is also more consistent to have the API support linked tokens if `cancel` runs in a different turn and reports exceptions via a Promise as 'prex' does, as that adds additional complexity to have to write manually. -- 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-292807170
Received on Sunday, 9 April 2017 19:30:13 UTC