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:10

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

Type declaration:#

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

Parameters:

NameType
contextActionContext
payloadTriggerPayload
paramsActionInputParameters‹T›