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 / Plugin

Type Alias: Plugin

Plugin = object

Indexable

[key: string]: any

Properties

name

readonly name: string

onInvoke()?

optional onInvoke: (data, next) => Promise<void>

Parameters

data

InvokeData

next

Next

Returns

Promise<void>

onMount()?

optional onMount: (data, next) => Promise<void>

Parameters

data

MountData

next

Next

Returns

Promise<void>

type

readonly type: string