Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/TanStack/ai
/ connection-adapters.test.ts
File
connection-adapters.test.ts
packages/ai-client/tests/connection-adapters.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ afterEach, beforeEach, describe, expect, it, vi } from
'vitest'
2
import
{ EventType } from
'@tanstack/ai/client'
3
import
{
4
fetchHttpStream,
Callers
nothing calls this directly
Calls
14
fetchServerSentEvents
Function · 0.90
fetchHttpStream
Function · 0.90
stream
Function · 0.90
normalizeConnectionAdapter
Function · 0.90
rpcStream
Function · 0.90
parse
Method · 0.80
now
Method · 0.80
consume
Function · 0.70
connect
Method · 0.65
set
Method · 0.65
subscribe
Method · 0.65
abort
Method · 0.65
Tested by
no test coverage detected