Skip to main content
Module

std/node/_events.mjs

Deno standard library
Go to Latest
import * as mod from "https://deno.land/std@0.166.0/node/_events.mjs";

Functions

Creates a new EventEmitter instance.

Creates a new EventEmitter instance.

Returns a copy of the array of listeners for the event name specified as type.

f
listenerCount
deprecated

Returns the number of listeners listening to the event name specified as type.

Returns an AsyncIterator that iterates event events.

Creates a Promise that is fulfilled when the emitter emits the given event.

Sets the max listeners.