Document "do not pass functions or class instances to threads"
Aperta
documentation
- Lingua principale
- TypeScript
- Stelle
- 3.5k
- Fork
- 173
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.