Skip to main content
internal.DuplexOptions.write - stream - Node documentation
method internal.DuplexOptions.write

Usage in Deno

import { type internal } from "node:stream";
DuplexOptions.write(
this: Duplex,
chunk: any,
encoding: BufferEncoding,
callback: (error?: Error | null) => void,
): void

Parameters

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

Return Type

void