Documents / @faasjs/test / Plugin
Type Alias: Plugin
Plugin:
object
Index Signature
[key
: string
]: any
Type declaration
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