MCPcopy Index your code
hub / github.com/andywer/threads.js / spawn.test.ts

File spawn.test.ts

test/spawn.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import test from "ava"
2import { Observable } from "observable-fns"
3import { spawn, Thread, Worker } from "../src/index"
4import { Counter } from "./workers/counter"

Callers

nothing calls this directly

Calls 6

spawnFunction · 0.85
incrementFunction · 0.85
subscribeMethod · 0.80
terminateMethod · 0.65
testFunction · 0.50
failFunction · 0.50

Tested by

no test coverage detected