Skip to main content
default.WritableOptions - node__stream.d.ts - Node documentation
interface default.WritableOptions

Usage in Deno

```typescript import mod from "node:node__stream.d.ts"; ```

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