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

Method queueMatch

packages/opencode/test/lib/llm-server.ts:653–655  ·  view source on GitHub ↗
(match: Match, ...input: (Item | Reply)[])

Source from the content-addressed store, hash-verified

651 }
652
653 const queueMatch = (match: Match, ...input: (Item | Reply)[]) => {
654 list = [...list, ...input.map((value) => ({ item: item(value), match }))]
655 }
656
657 const notify = Effect.fnUntraced(function* () {
658 const ready = waits.filter((item) => hits.length >= item.count)

Callers

nothing calls this directly

Calls 1

itemFunction · 0.70

Tested by

no test coverage detected