Module

x/solid/web/src/server-mock.ts>renderToStream

A declarative, efficient, and flexible JavaScript library for building user interfaces.
Latest
function renderToStream
import { renderToStream } from "https://dotland.deno.dev/x/solid@v1.9.3/web/src/server-mock.ts";

Parameters

fn: () => T
optional
options: { nonce?: string; renderId?: string; onCompleteShell?: (info: { write: (v: string) => void; }) => void; onCompleteAll?: (info: { write: (v: string) => void; }) => void; }

Returns

{ pipe: (writable: { write: (v: string) => void; }) => void; pipeTo: (writable: WritableStream) => void; }