Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/hex/fp/emitter.ts>emitter

An ecosystem delivering practices, philosophy and portability.
Go to Latest
variable emitter
import { emitter } from "https://deno.land/x/hex@v0.4.9/fp/emitter.ts";

type

(
events: Record<string, EventType[]>,
eventName: string,
args?: readonly unknown[],
loggers?: readonly LoggerType[],
) => Promise<void>