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

x/evt/lib/types/interfaces/NonPostableEvtLike.ts

💧EventEmitter's typesafe replacement
Go to Latest
File

import type { CtxLike } from "./CtxLike.ts";
export interface NonPostableEvtLike<T> { attach(ctx: CtxLike, callback: (data: T) => void): void; attach(callback: (data: T) => void): void;};