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

Function resultChunk

packages/ai-client/tests/generation-devtools.test.ts:83–90  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

81 })
82
83 function resultChunk(value: unknown) {
84 return {
85 type: EventType.CUSTOM,
86 name: 'generation:result',
87 value,
88 timestamp: Date.now(),
89 } satisfies StreamChunk
90 }
91
92 function runStartedChunk(runId: string) {
93 return {

Callers 1

Calls 1

nowMethod · 0.80

Tested by

no test coverage detected