MCPcopy
hub / github.com/TanStack/ai / connect

Function connect

packages/ai-react/tests/use-chat.test.ts:941–944  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

939 const newOnChunk = vi.fn()
940 const adapter = {
941 async *connect() {
942 await releaseOldStream.promise
943 yield* createTextChunks('stale old client')
944 },
945 }
946
947 const { result, rerender } = renderHook(

Callers

nothing calls this directly

Calls 1

createTextChunksFunction · 0.90

Tested by

no test coverage detected