MCPcopy Index your code
hub / github.com/TanStack/router / encodeEndFrame

Function encodeEndFrame

packages/start-server-core/src/frame-protocol.ts:72–74  ·  view source on GitHub ↗
(streamId: number)

Source from the content-addressed store, hash-verified

70 * Encodes a raw stream end frame.
71 */
72export function encodeEndFrame(streamId: number): Uint8Array {
73 return encodeFrame(FrameType.END, streamId, EMPTY_PAYLOAD)
74}
75
76/**
77 * Encodes a raw stream error frame.

Callers 2

pumpRawStreamFunction · 0.70

Calls 1

encodeFrameFunction · 0.70

Tested by

no test coverage detected