Skip to main content
default.WritableOptions.write - stream - Node documentation
method default.WritableOptions.write

Usage in Deno

import type mod from "node:stream";
WritableOptions.write(
this: Writable,
chunk: any,
encoding: BufferEncoding,
callback: (error?: Error | null) => void,
): void

Parameters

this: Writable
chunk: any
encoding: BufferEncoding
callback: (error?: Error | null) => void

Return Type

void