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

File streaming.test.ts

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

Source from the content-addressed store, hash-verified

1import test from "ava"
2import { spawn, Thread, Worker } from "../src/index"
3
4test("can use worker returning an observable subject", async t => {

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected