Module

std/node/fs.ts>WriteStream#on

Deno standard library
Go to Latest
method WriteStream.prototype.on
import { WriteStream } from "https://dotland.deno.dev/std@0.177.0/node/fs.ts";

Parameters

event: "close"
listener: () => void

Parameters

event: "drain"
listener: () => void

Parameters

event: "error"
listener: (err: Error) => void

Parameters

event: "finish"
listener: () => void

Parameters

event: "open"
listener: (fd: number) => void

Parameters

event: "pipe"
listener: (src: stream.Readable) => void

Parameters

event: "ready"
listener: () => void

Parameters

event: "unpipe"
listener: (src: stream.Readable) => void

Parameters

event: string | symbol
listener: (...args: any[]) => void