Documents / @faasjs/core / InvokeData
Type Alias: InvokeData<TEvent, TContext, TResult>
InvokeData<
TEvent,TContext,TResult> =object
Mutable invocation state shared by plugins and the final handler.
Type Parameters
TEvent
TEvent = any
Runtime event type.
TContext
TContext = any
Runtime context type.
TResult
TResult = any
Async result type produced by the handler.
Indexable
[
key:string]:any
Properties
config
config:
Config
Resolved function configuration.
context
context:
TContext
Runtime context payload.
event
event:
TEvent
Runtime event payload.
handler?
optionalhandler?:Handler<TEvent,TContext,TResult>
Final business handler when one exists.
logger
logger:
Logger
Request-scoped logger instance.
response
response:
any
Response value produced by plugins or handlers.