method Writable.prototype.onceimport { Writable } from "https://deno.land/std@0.135.0/node/_stream.d.ts"; once(event: "close", listener: () => void): thisonce(event: "drain", listener: () => void): thisonce(event: "error", listener: (err: Error) => void): thisonce(event: "finish", listener: () => void): thisonce(event: "pipe", listener: (src: Readable) => void): thisonce(event: "unpipe", listener: (src: Readable) => void): thisonce(event: string | symbol, listener: (...args: any[]) => void): thisParametersevent: "close"listener: () => voidReturnsthisParametersevent: "drain"listener: () => voidReturnsthisParametersevent: "error"listener: (err: Error) => voidReturnsthisParametersevent: "finish"listener: () => voidReturnsthisParametersevent: "pipe"listener: (src: Readable) => voidReturnsthisParametersevent: "unpipe"listener: (src: Readable) => voidReturnsthisParametersevent: string | symbollistener: (...args: any[]) => voidReturnsthis