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

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

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

Replaced by renderToStream

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

Parameters

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