Module

x/evt/lib/index.ts>Handler

šŸ’§EventEmitter's typesafe replacement
Go to Latest
namespace Handler
import { Handler } from "https://deno.land/x/evt@v2.3.1/lib/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
import { type Handler } from "https://deno.land/x/evt@v2.3.1/lib/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; }>
import Handler
import { Handler } from "https://deno.land/x/evt@v2.3.1/lib/index.ts";