- From: Ben Kelly <notifications@github.com>
- Date: Tue, 14 Apr 2015 06:49:21 -0700
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Tuesday, 14 April 2015 13:49:50 UTC
It would be nice if we could investigate a `new ServiceWorker()` constructor to handle this case. It seems like it would fit the situation well and would start moving the SW API closer to the other worker APIs. ``` var sw = new ServiceWorker('./heavy-lifting-sw.js'); sw.postMessage(aLotOfWorkToDo); ``` --- Reply to this email directly or view it on GitHub: https://github.com/slightlyoff/ServiceWorker/issues/678#issuecomment-92855232
Received on Tuesday, 14 April 2015 13:49:50 UTC