Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can i use it in WebWorker? #220

Open
VanDalkvist opened this issue Oct 3, 2015 · 1 comment
Open

Can i use it in WebWorker? #220

VanDalkvist opened this issue Oct 3, 2015 · 1 comment

Comments

@VanDalkvist
Copy link

No description provided.

@MarkMYoung
Copy link
Collaborator

This answer is much more complicated than I anticipated when I first read your question because of browser inconsistencies (e.g. no sub-Worker support in Chrome, indexedDB accessible from self but not openDatabase). From what I can tell, you should be able to use importScripts (referencing the core and the plug-ins you want) to access the database in a long-running/resource-intensive Worker(s).

Please let us know whether this route works for you so we can give a more definitive answer to others.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants