- From: Domenic Denicola <notifications@github.com>
- Date: Fri, 20 Feb 2015 16:11:08 -0800
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Saturday, 21 February 2015 00:11:38 UTC
> If you want .then() to only be callable once, you don't have a Promise. You have a Task. If that's what we want, great, but then let's make it much clearer that this isn't a promise; call the chaining method .pipe(), etc. Then you can't use it with `await` or promise combinators or anything else. It's almost certainly not worth creating an entire parallel universe of "tasks" and forcing people to choose between promises and tasks every time they want to do something async. --- Reply to this email directly or view it on GitHub: https://github.com/slightlyoff/ServiceWorker/issues/625#issuecomment-75342724
Received on Saturday, 21 February 2015 00:11:38 UTC