Go to Latest
interface WritableOptions
import { type WritableOptions } from "https://dotland.deno.dev/std@0.92.0/node/_stream/writable.ts";

Properties

optional
autoDestroy: boolean
optional
decodeStrings: boolean
optional
defaultEncoding: WritableEncodings
optional
emitClose: boolean
optional
highWaterMark: number
optional
objectMode: boolean

Methods

optional
destroy(
this: Writable,
error: Error | null,
callback: (error: Error | null) => void,
): void
optional
final(this: Writable, callback: (error?: Error | null) => void): void
optional
write(
this: Writable,
chunk: any,
encoding: WritableEncodings,
callback: (error?: Error | null) => void,
): void
optional
writev(
this: Writable,
chunks: Array<{ chunk: any; encoding: string; }>,
callback: (error?: Error | null) => void,
): void