MCPcopy Index your code
hub / github.com/TanStack/ai / chunks

Function chunks

packages/ai-opencode/tests/text-adapter.test.ts:27–32  ·  view source on GitHub ↗
(values: Array<string>)

Source from the content-addressed store, hash-verified

25} as unknown as InternalLogger
26
27async function* chunks(values: Array<string>): AsyncIterable<string> {
28 for (const v of values) {
29 await Promise.resolve()
30 yield v
31 }
32}
33
34/** Mock sandbox whose spawn emits a scripted stdout and whose port resolves. */
35function mockSandbox(stdout: Array<string>): SandboxHandle {

Callers 1

mockSandboxFunction · 0.70

Calls 1

resolveMethod · 0.80

Tested by

no test coverage detected