MCPcopy 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

1import test from "ava"
2import { spawn, Pool, Worker } from "../src/index"
3import { PoolEventType, QueuedTask } from "../src/master/pool"
4

Callers

nothing calls this directly

Calls 8

PoolInterface · 0.85
subscribeMethod · 0.80
cancelMethod · 0.80
eventsMethod · 0.65
queueMethod · 0.65
terminateMethod · 0.65
completedMethod · 0.65
settledMethod · 0.65

Tested by

no test coverage detected