default.WritableOptions - Node documentation
interface default.WritableOptions

Usage in Deno

import type default from "node:stream";
type { WritableOptions } = default;

Properties

optional
decodeStrings: boolean | undefined
optional
defaultEncoding: BufferEncoding | undefined

Methods

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