- From: Joe Pea <notifications@github.com>
- Date: Tue, 10 Oct 2017 02:41:11 +0000 (UTC)
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 10 October 2017 02:41:35 UTC
Traditional events have ways to clean up (`removeEventListener`), so it seems fair to need this for Promise-based APIs which are essentially future event notifications. Maybe this is a more general problem for JavaScript. Maybe Promises returned from `.then()` simply need to be cancellable, just like ancient event mechanisms have ways to de-register event listeners. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/674#issuecomment-335343085
Received on Tuesday, 10 October 2017 02:41:35 UTC