andywer / andywer/threads.js

Inject full path to Worker where it used, not where declared

Open
#486 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
3.5k
Forks
173
PR merge metrics
No merged PRs in 30d

Description

My package creates an instance of Worker, and my main nodejs esm application cannot inject the file, because full path is based on my package. I can create PR with process.cwd optional support in the options. Or do you can explain how can I solve the problem?

https://github.com/andywer/threads.js/blob/0d1a882f09273cb8482902ae2601fe4ffed6fbab/src/master/implementation.node.ts#L82

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.