Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/andywer/threads.js
/ pool.test.ts
File
pool.test.ts
test/pool.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
test from
"ava"
2
import
{ spawn, Pool, Worker } from
"../src/index"
3
import
{ PoolEventType, QueuedTask } from
"../src/master/pool"
4
Callers
nothing calls this directly
Calls
8
Pool
Interface · 0.85
subscribe
Method · 0.80
cancel
Method · 0.80
events
Method · 0.65
queue
Method · 0.65
terminate
Method · 0.65
completed
Method · 0.65
settled
Method · 0.65
Tested by
no test coverage detected