StreamSink
Receives the boundaries that are still pending during a streaming render: what StreamContext provides.
Receives the boundaries that are still pending during a streaming render: what StreamContext provides.
Import#
ts
import type { StreamSink } from "@shadow-js/web/extend";
Signature#
ts
interface StreamSink {
/** Queues `boundary` to be rebuilt when the next resource settles. */
defer(boundary: StreamBoundary): void;
}
Members#
| Name | Type | Description |
|---|---|---|
defer |
defer(boundary: StreamBoundary): void |
Queues boundary to be rebuilt when the next resource settles. |