Module

std/node/stream.ts>Readable#emit

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

Parameters

event: "close"

Returns

boolean

Parameters

event: "data"
chunk: any

Returns

boolean

Parameters

event: "end"

Returns

boolean

Parameters

event: "error"
err: Error

Returns

boolean

Parameters

event: "pause"

Returns

boolean

Parameters

event: "readable"

Returns

boolean

Parameters

event: "resume"

Returns

boolean

Parameters

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

Returns

boolean