I have an ember application that I create like this:
window.App = Ember.Application.create({});
I want to do some background processing on
Short answer. You can't.
The only resources available to web workers are that which they load from JavaScript files using importScripts()
or anything that is passed to them via postMessage()
.
You can however now pass Objects to them. They are serialized and de-serialized to JSON automatically.
Also, there is no access to local storage from the Worker.