andywer / andywer/threads.js

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

Ouverte
#486 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
TypeScript
Étoiles
3.5k
Forks
173
Métriques de merge des PR
Aucune PR mergée en 30 j

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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.