Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/andywer/threads.js
/ transferables.test.ts
File
transferables.test.ts
test/transferables.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
test from
"ava"
2
import
{ spawn, Thread, Transfer, TransferDescriptor, Worker } from
"../src/index"
3
import
{ XorBuffer } from
"./workers/arraybuffer-xor"
4
Callers
nothing calls this directly
Calls
5
spyOn
Function · 0.85
replaceArrayBufferWithPlaceholder
Function · 0.85
Transfer
Function · 0.85
terminate
Method · 0.65
test
Function · 0.50
Tested by
no test coverage detected