Type alias TaskEventHandler<TProperties, TPayload>
Task
Event
Handler
<TProperties, TPayload>: ((event
: Task<TProperties, TPayload>, context
: StatelessContext) => Promise<TPayload>)
Type Parameters
-
TProperties
-
TPayload = unknown
Type declaration
-
- (event: Task<TProperties, TPayload>, context: StatelessContext): Promise<TPayload>
-
Parameters
-
event: Task<TProperties, TPayload>
-
Returns Promise<TPayload>