createWritable<T>(fn: (chunk: T) => void | Promise<void>): WritableStream<T>
Creates a writable stream from a given write function. Every chunk written to the stream will be passed to the function.
A writable stream
createWritable<T>(fn: (chunk: T) => void | Promise<void>): WritableStream<T>
Creates a writable stream from a given write function. Every chunk written to the stream will be passed to the function.
A writable stream
Add Package
deno add jsr:@sgmonda/qfu
Import symbol
import { createWritable } from "@sgmonda/qfu";
---- OR ----
Import directly with a jsr specifier
import { createWritable } from "jsr:@sgmonda/qfu";
Add Package
npx jsr add @sgmonda/qfu
Import symbol
import { createWritable } from "@sgmonda/qfu";
Add Package
yarn dlx jsr add @sgmonda/qfu
Import symbol
import { createWritable } from "@sgmonda/qfu";
Add Package
pnpm dlx jsr add @sgmonda/qfu
Import symbol
import { createWritable } from "@sgmonda/qfu";
Add Package
bunx jsr add @sgmonda/qfu
Import symbol
import { createWritable } from "@sgmonda/qfu";