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

Method queue

packages/opencode/test/lib/llm-server.ts:649–651  ·  view source on GitHub ↗
(...input: (Item | Reply)[])

Source from the content-addressed store, hash-verified

647 let misses: Hit[] = []
648
649 const queue = (...input: (Item | Reply)[]) => {
650 list = [...list, ...input.map((value) => ({ item: item(value) }))]
651 }
652
653 const queueMatch = (match: Match, ...input: (Item | Reply)[]) => {
654 list = [...list, ...input.map((value) => ({ item: item(value), match }))]

Callers

nothing calls this directly

Calls 1

itemFunction · 0.70

Tested by

no test coverage detected