FaasJS
Home
  • Guide
  • Documents
  • Starter Template
  • Changelog
  • Ecosystem

    • VS Code Plugin
    • Docker Images
  • Github
  • Contributing
  • Sponsor
  • Security
  • English
  • 简体中文
Home
  • Guide
  • Documents
  • Starter Template
  • Changelog
  • Ecosystem

    • VS Code Plugin
    • Docker Images
  • Github
  • Contributing
  • Sponsor
  • Security
  • English
  • 简体中文

Documents / @faasjs/func / ExportedHandler

Type Alias: ExportedHandler()<TEvent, TContext, TResult>

ExportedHandler<TEvent, TContext, TResult> = (event?, context?, callback?) => Promise<TResult>

Type Parameters

TEvent

TEvent = any

TContext

TContext = any

TResult

TResult = any

Parameters

event?

TEvent

context?

TContext

callback?

(...args) => any

Returns

Promise<TResult>