developit / developit/workerize-loader
Transferable support
- Langage dominant
- JavaScript
- Étoiles
- 2.3k
- Forks
- 85
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Hi[](https://nuxt.slack.com/messages/C3JC50TBP/)!
Do you think you could include a way to pass [`Transferable`](https://developer.mozilla.org/en-US/docs/Web/API/Transferable) objects correctly?
It would be great to be able to return a [`MessagePort`](https://developer.mozilla.org/en-US/docs/Web/API/MessagePort) so that the function can return a stream instead of a single value.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
No files or tests are named in the issue. Start by tracing how workerize-loader currently sends function results between the module and its Web Worker, then determine how Transferable objects and a returned MessagePort should be handled; done means streams can be returned instead of only single values.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- javascript, webpack
- Domaine
- build-system
- Type d'issue
- Fonctionnalité
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 25/100