Re: [ServiceWorker] Returning a FetchPromise from fetch() (#625)

> 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