MCPcopy Index your code
hub / github.com/anomalyco/opencode / [Symbol.asyncIterator]

Method [Symbol.asyncIterator]

packages/opencode/src/util/queue.ts:16–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14 }
15
16 async *[Symbol.asyncIterator]() {
17 while (true) yield await this.next()
18 }
19}
20
21export async function work<T>(concurrency: number, items: T[], fn: (item: T) => Promise<void>) {

Callers

nothing calls this directly

Calls 1

nextMethod · 0.95

Tested by

no test coverage detected