Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

std/node/_events.mjs>on

Deno standard library
Go to Latest
function on
import { on } from "https://deno.land/std@0.152.0/node/_events.mjs";

Returns an AsyncIterator that iterates event events.

Parameters

emitter
event
options