developit / developit/workerize-loader

Transferable support

オープン
#51 コメント 6 件 リアクション 6 件 担当者 0 名 GitHub で見る
enhancement good first issue help wanted
主要言語
JavaScript
スター
2.3k
フォーク
85
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript, webpack
領域
build-system
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。