UNPKG

vite-plugin-react-server

Version:
9 lines 549 B
import { PassThrough } from "node:stream"; import type { CreateHandlerOptions } from "../types.js"; import type { StreamHandlers } from "../worker/types.js"; /** * Server-specific React stream creation with error handling * This function is only available in server environments */ export declare function createReactStream(element: React.ReactElement, options: CreateHandlerOptions, handlers: Pick<StreamHandlers<"server">, "onError" | "onPostpone" | "onEnd" | "onData">): PassThrough; //# sourceMappingURL=renderRscStreamHelpers.server.d.ts.map