MCPcopy Index your code
hub / github.com/claude-code-best/claude-code / fromArray

Function fromArray

src/utils/generators.ts:86–90  ·  view source on GitHub ↗
(values: T[])

Source from the content-addressed store, hash-verified

84}
85
86export async function* fromArray<T>(values: T[]): AsyncGenerator<T, void> {
87 for (const value of values) {
88 yield value
89 }
90}

Callers 2

generators.test.tsFile · 0.90
getStructuredIOFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected