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

x/evt/lib/index.ts>Evt

💧EventEmitter's typesafe replacement
Go to Latest
interface Evt
implements Postable<T>, NonPostableEvt<T>
import { type Evt } from "https://deno.land/x/evt@v2.3.1/lib/index.ts";
type alias Evt
import { type Evt } from "https://deno.land/x/evt@v2.3.1/lib/index.ts";
definition: import("./types/interfaces/Evt.ts").Evt<T>
variable Evt
import { Evt } from "https://deno.land/x/evt@v2.3.1/lib/index.ts";

type

{ readonly prototype: Evt<any>; readonly create: create; readonly newCtx: newCtx; readonly merge: merge; readonly from: from; readonly getCtx: ReturnType<getCtxFactory>; readonly loosenType: loosenType; readonly factorize: factorize; readonly asPostable: asPostable; readonly asyncPipe: asyncPipe; readonly asNonPostable: asNonPostable; new <T>(): Evt<T>; setDefaultMaxHandlers(n: number): void; }