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

Function touch

packages/opencode/src/cli/cmd/run/stream.transport.ts:827–834  ·  view source on GitHub ↗
(event: Event)

Source from the content-addressed store, hash-verified

825 })
826
827 const touch = (event: Event) => {
828 const next = state.wait
829 if (!next || !active(event, input.sessionID)) {
830 return
831 }
832
833 next.live = true
834 }
835
836 const complete = Effect.fn("RunStreamTransport.complete")(function* (next: Wait, fallback: boolean) {
837 if (state.wait !== next || !next.armed || !next.live) {

Callers 1

createLayerFunction · 0.70

Calls 1

activeFunction · 0.70

Tested by

no test coverage detected