MCPcopy Create free account
hub / github.com/dexhorthy/shannon / asyncIterableFromArray

Function asyncIterableFromArray

index.ts:935–937  ·  view source on GitHub ↗
(values: string[])

Source from the content-addressed store, hash-verified

933}
934
935async function* asyncIterableFromArray(values: string[]): AsyncIterable<string> {
936 for (const value of values) yield value;
937}
938
939async function* readPromptsFromStdin(inputFormat: "text" | "stream-json"): AsyncIterable<string> {
940 if (inputFormat === "text") {

Callers 1

runShannonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected