andywer / andywer/threads.js

Using onMessage and postMessage in a worker and main thread

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

説明

Hello, please provide an example of using onMessage and postMessage from both the worker side and the main thread side using Typescript. The object returned from **spawn** doesn't seem to include those methods and I dont see how to call them from within **expose** as well.

Thank you

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

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

評価

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

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

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