method default.Duplex.prototype.write Usage in Denoimport mod 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