Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/hex/src/mod.ts>fp.emitter

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

type

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