MCPcopy Create free account
hub / github.com/anomalyco/opencode / push

Function push

packages/opencode/test/cli/run/stream.transport.test.ts:130–134  ·  view source on GitHub ↗
(value: T)

Source from the content-addressed store, hash-verified

128 return {
129 stream: wrapped,
130 push(value: T) {
131 list.push(value)
132 wake?.()
133 wake = undefined
134 },
135 close() {
136 done = true
137 wake?.()

Callers

nothing calls this directly

Calls 2

pushMethod · 0.80
wakeFunction · 0.50

Tested by

no test coverage detected