Skip to content
This repository was archived by the owner on Sep 2, 2023. It is now read-only.
This repository was archived by the owner on Sep 2, 2023. It is now read-only.

Worker implementation #118

Description

@guybedford

For those who haven't seen it yet, the modules group may have some interest in this one - nodejs/node#20876.

Part of the modules specification in HTML is "worker modules" (yet to land in browsers) through new Worker('module.js', { type: 'module' }), so may be worth considering if this would also be supported in Node and some of the overall workflows here.

Note also on the web, new Worker(import.meta.url) works fine, but in NodeJS fileURLs are not currently supported for the worker constructor creating some extra boilerplate needs on the universal workflow here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions