FaasJS
Home
  • Guide
  • Documents
  • Templates
  • Changelog
  • Ecosystem

    • Docker Images
  • Github
  • Contributing
  • Sponsor
  • Security
Home
  • Guide
  • Documents
  • Templates
  • Changelog
  • Ecosystem

    • Docker Images
  • Github
  • Contributing
  • Sponsor
  • Security

Documents / @faasjs/dev / 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?

optional handler?: 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.