Skip to main content
Deno 2 is finally here 🎉️
Learn more
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.5.6/lib/types/index.ts";

Methods

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