- From: Anne van Kesteren <notifications@github.com>
- Date: Wed, 27 Apr 2016 23:52:21 -0700
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc:
Received on Thursday, 28 April 2016 06:52:51 UTC
I think we should do two things: 1. Require "in parallel" algorithms to queue tasks when they want to resolve promises. E.g., the promises guide doesn't specify an "event source" and that can be problematic if ordering is important as it is here. 2. Make it clear that "in parallel" algorithms can only ever queue tasks, and not queue microtasks. The latter is rather unpredictable as the microtask could end up in whatever task happens to be running, which is quite strange, a security issue, not what is implemented, etc. --- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/slightlyoff/ServiceWorker/issues/851#issuecomment-215327700
Received on Thursday, 28 April 2016 06:52:51 UTC