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

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

💧EventEmitter's typesafe replacement
Go to Latest
type alias Handler.PropsFromArgs
import { type Handler } from "https://deno.land/x/evt@v2.5.6/lib/types/Handler.ts";
const { PropsFromArgs } = Handler;

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

Type Parameters

T
U
optional
CtxProp extends CtxLike<any> | undefined = CtxLike<any> | undefined
definition: { ctx: CtxProp; timeout: number | undefined; op: Operator<T, U>; callback: ((transformedData: U) => void) | undefined; }