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

x/evt/lib/types/index.ts>Handler

💧EventEmitter's typesafe replacement
Go to Latest
namespace Handler
Re-export
import { Handler } from "https://deno.land/x/evt@v2.5.6/lib/types/index.ts";

Type Aliases

Handlers params that come from the arguments passed to the method invoked

Handlers params that are implicitly specified by the method used: attachOnce => once attachOncePrepend => once + prepend waitFor => once + async ...

type alias Handler
Re-export
import { type Handler } from "https://deno.land/x/evt@v2.5.6/lib/types/index.ts";

Type Parameters

T
U
optional
CtxProp extends CtxLike<any> | undefined = CtxLike<any> | undefined
definition: Handler.PropsFromArgs<T, U, CtxProp> & Handler.PropsFromMethodName & Readonly<{ promise: Promise<U>; detach(): boolean; }>