Skip to main content
Module

x/evt/lib/types/index.ts>NonPostableEvtLike

💧EventEmitter's typesafe replacement
Go to Latest
interface NonPostableEvtLike
Re-export
import { type NonPostableEvtLike } from "https://deno.land/x/evt@v2.3.1/lib/types/index.ts";

Methods

attach(ctx: CtxLike, callback: (data: T) => void): void
attach(callback: (data: T) => void): void