Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
interface WritableOptions
import { type WritableOptions } from "https://deno.land/std@0.101.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