andywer / andywer/threads.js

Using onMessage and postMessage in a worker and main thread

Đang mở
#322 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
question
Ngôn ngữ chính
TypeScript
Star
3.5k
Fork
173
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.