Skip to main content

types/TriggerPerformFunction

@prismatic-io/spectral"types/TriggerPerformFunction"

Index

Type aliases

Type aliases

TriggerPerformFunction

Ƭ TriggerPerformFunction: function

Defined in packages/spectral/src/types/TriggerPerformFunction.ts:11

Definition of the function to perform when a Trigger is invoked.

Type declaration:

▸ (context: ActionContext‹TConfigVars›, payload: TriggerPayload, params: ActionInputParameters‹TInputs›): Promise‹TResult›

Parameters:

NameType
contextActionContext‹TConfigVars›
payloadTriggerPayload
paramsActionInputParameters‹TInputs›