UNPKG
@chainsafe/threads
Version:
latest (1.11.3)
1.11.3
1.11.2
1.11.1
1.11.0
1.10.0
1.9.0
1.8.0
Web workers & worker threads as simple as a function call
threads.js.org
andywer/threads.js
@chainsafe/threads
/
dist-esm
/
symbols.js
6 lines
(5 loc)
•
258 B
JavaScript
View Raw
1
2
3
4
5
6
export
const
$errors =
Symbol
(
"thread.errors"
);
export
const
$events =
Symbol
(
"thread.events"
);
export
const
$terminate =
Symbol
(
"thread.terminate"
);
export
const
$transferable =
Symbol
(
"thread.transferable"
);
export
const
$worker =
Symbol
(
"thread.worker"
);