MCPcopy Create free account
hub / github.com/TanStack/router / pipeTo

Function pipeTo

packages/solid-router/tests/renderRouterToStream.test.tsx:256–260  ·  view source on GitHub ↗
(writable: WritableStream<Uint8Array>)

Source from the content-addressed store, hash-verified

254 resolve()
255 },
256 pipeTo(writable: WritableStream<Uint8Array>) {
257 const writer = writable.getWriter()
258 pipeCompletion = writer.write(html).then(() => writer.close())
259 return pipeCompletion
260 },
261 }) as any,
262 )
263

Callers

nothing calls this directly

Calls 2

thenMethod · 0.65
closeMethod · 0.65

Tested by

no test coverage detected