Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

A declarative, efficient, and flexible JavaScript library for building user interfaces.
Latest
function pipeToNodeWritable
Deprecated
Deprecated

Replaced by renderToStream

import { pipeToNodeWritable } from "https://deno.land/x/solid@v1.9.3/web/src/server-mock.ts";

Parameters

fn: () => T
writable: { write: (v: string) => void; }
optional
options: { nonce?: string; onReady?: (res: LegacyResults) => void; onCompleteAll?: () => void; }