Document "do not pass functions or class instances to threads"
Open
documentation
- Dominant language
- TypeScript
- Stars
- 3.5k
- Forks
- 173
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.