Skip to main content
Module

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

💧EventEmitter's typesafe replacement
Go to Latest
File

type Evt<T> = import("./Evt.ts").Evt<T>;
/** * https://docs.evt.land/api/evt/create#why-voidevt-and-not-evt-less-than-void-greater-than * https://docs.evt.land/api/evt/create * * This is only an interface, not a class. * get an instance using Evt.create() * */export interface VoidEvt extends Evt<void> { post(): number; postAsyncOnceHandled(): Promise<number>;};