Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudflare/computer
/ exec-wire.test.ts
File
exec-wire.test.ts
packages/computer/src/exec-wire.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
// Unit tests for the exec event wire codec.
2
//
3
// The codec frames a stream of WorkspaceExecEvents as JSONL bytes so
4
// the event stream can cross Workers RPC (which carries byte streams
Callers
nothing calls this directly
Calls
6
roundTrip
Function · 0.85
encodeExecEvents
Function · 0.85
decodeExecEvents
Function · 0.85
collect
Function · 0.70
streamOf
Function · 0.70
set
Method · 0.65
Tested by
no test coverage detected