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

Function seedBlocker

packages/opencode/src/cli/cmd/run/stream.transport.ts:471–478  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

469 }
470
471 const seedBlocker = (id: string) => {
472 if (state.blockers.has(id)) {
473 return
474 }
475
476 state.blockerTick += 1
477 state.blockers.set(id, state.blockerTick)
478 }
479
480 const trackBlocker = (event: Event) => {
481 if (event.type !== "permission.asked" && event.type !== "question.asked") {

Callers 2

trackBlockerFunction · 0.85
createLayerFunction · 0.85

Calls 1

setMethod · 0.45

Tested by

no test coverage detected