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
/
master
/
implementation.node.d.ts
6 lines
(5 loc)
•
255 B
TypeScript
View Raw
1
2
3
4
5
6
/// <reference lib="dom" />
import
{
ImplementationExport
}
from
"../types/master"
;
export
declare
const
defaultPoolSize
:
number
;
export
declare
function
getWorkerImplementation
(
):
ImplementationExport
;
export
declare
function
isWorkerRuntime
(
):
boolean
;