Skip to main content
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;};