MCPcopy Create free account
hub / github.com/TanStack/ai / push

Method push

packages/ai-sandbox-vercel/src/handle.ts:55–60  ·  view source on GitHub ↗
(chunk: string)

Source from the content-addressed store, hash-verified

53 private ended = false
54
55 push(chunk: string): void {
56 if (chunk === '') return
57 const waiter = this.waiters.shift()
58 if (waiter) waiter({ value: chunk, done: false })
59 else this.chunks.push(chunk)
60 }
61
62 end(): void {
63 this.ended = true

Callers 2

spawnProcessMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected