Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/node/_stream.d.ts>Writable#emit

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
method Writable.prototype.emit
import { Writable } from "https://deno.land/std@0.125.0/node/_stream.d.ts";

Parameters

event: "close"

Returns

boolean

Parameters

event: "drain"

Returns

boolean

Parameters

event: "error"
err: Error

Returns

boolean

Parameters

event: "finish"

Returns

boolean

Parameters

event: "pipe"

Returns

boolean

Parameters

event: "unpipe"

Returns

boolean

Parameters

event: string | symbol
...args: any[]

Returns

boolean