andywer / andywer/threads.js

Document "do not pass functions or class instances to threads"

オープン
#141 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
documentation
主要言語
TypeScript
スター
3.5k
フォーク
173
PR マージ指標
30日以内にマージされた PR はありません

説明

Follow-up of #140.

Regarding the class instances: You can pass them, of course, but you will only receive the instance properties as a plain object. The worker cannot know which prototype that instance used to have before serialization.

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

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

評価

この issue はまだ評価されていません。

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

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