deno.land / std@0.139.0 / node / _events.mjs

import * as mod from "https://deno.land/std@0.139.0/node/_events.mjs";

Functions

default

Creates a new EventEmitter instance.

EventEmitter

Creates a new EventEmitter instance.

getEventListeners

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

on

Returns an AsyncIterator that iterates event events.

once

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

std
Deno standard library
GitHub Stars
2178
Go to latest

Version Info

Tagged at
a month ago