Skip to content

Spawn worker from blob / inlined bundle #211

Closed
@pkerpedjiev

Description

@pkerpedjiev

Apologies if this is a silly question but is it possible to use threads.js with a BLOB inline worker (like this https://stackoverflow.com/questions/5408406/web-workers-without-a-separate-javascript-file) so that it can be included in the main bundle?

Having a second worker bundle in addition to the main application code can really complicate things with cross-origin requests in a browser.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions