Re: [ServiceWorker] Add worker modules (9111303)

Here is the pattern you should probably use (with your own error behavior):

> If the algorithm asynchronously completes with null, queue a task to fire a simple event named `error` at _worker_, and abort these steps. Otherwise, continue the rest of these steps after the algorithm's asynchronous completion, with _script_ being the asynchronous completion value.

---
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/commit/9111303ebc163b046d3f1ae6267a747ddfde2b64#commitcomment-16396520

Received on Monday, 29 February 2016 18:20:22 UTC