Skip to main content
Module

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

💧EventEmitter's typesafe replacement
Go to Latest
namespace Handler
import { Handler } from "https://deno.land/x/evt@v2.5.3/lib/types/Handler.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
import { type Handler } from "https://deno.land/x/evt@v2.5.3/lib/types/Handler.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; }>