scala-js/scala-js-dom

Support for SharedWorker

danielwegener opened this issue · 3 comments

There is already an interface for Worker and AbstractWorker. It would be nice if we could support the SharedWorker too!

👍 definitely. Actually if we could migrate the existing service workers types into org.scalajs.dom.experimental.serviceworker during this, it would help us address #180, as well. :)

Is service worker migration happening on this ticket? I have to extend some parts of the ServiceWorker API for #184 and was considering attempting to move all of them over instead. Would like to avoid conflicts though.

Yeah I already moved around some bits and pieces in #187 . It also adds alot of ServiceWorker related api (most of the Context parts). Although the packaging is not yet finally discussed (feel free to jump in).