Skip to content

Commit cb94434

Browse files
committed
update
1 parent 41afcb6 commit cb94434

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/routes/reference/rendering/render-to-stream.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,12 @@ Callback invoked when a rendering error is encountered.
8484

8585
- **Type:** `{ pipe: ..., pipeTo: ... }`
8686

87-
Streaming controller with `pipe` and `pipeTo` methods.
87+
Streaming controller with `pipe` and `pipeTo` methods. The runtime implementation is also thenable and can resolve to the complete HTML string.
8888

8989
## Behavior
9090

91-
- `renderToStream` writes the shell synchronously, including suspense fallback content.
92-
- Async content and serialized data continue streaming as resources resolve.
91+
- `renderToStream` is a server rendering API and is unsupported in browser bundles. It buffers the shell HTML, including suspense fallback content, and can flush it before later async fragments and serialized data stream as resources resolve.
92+
- `onCompleteShell` and `onCompleteAll` receive a `write()` helper for injecting additional output into the stream.
9393
- `pipe` writes to Node-style writable targets.
9494
- `pipeTo` writes to a `WritableStream`.
9595

0 commit comments

Comments
 (0)