method internal.Duplex.prototype.write Usage in Denoimport { internal } from "node:stream"; Duplex.prototype.write(chunk: any,encoding?: BufferEncoding,cb?: (error: Error | null | undefined) => void,): boolean Parameters chunk: any optional encoding: BufferEncoding optional cb: (error: Error | null | undefined) => void Return Type boolean Duplex.prototype.write(chunk: any,cb?: (error: Error | null | undefined) => void,): boolean Parameters chunk: any optional cb: (error: Error | null | undefined) => void Return Type boolean