Document "do not pass functions or class instances to threads"
Offen
documentation
- Vorherrschende Sprache
- TypeScript
- Sterne
- 3.5k
- Forks
- 173
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.