Skip to main content

types/TriggerEventFunction

@prismatic-io/spectral"types/TriggerEventFunction"

Index

Type aliases

Type aliases

TriggerEventFunction

Ƭ TriggerEventFunction: function

Defined in packages/spectral/src/types/TriggerEventFunction.ts:15

Definition of the function to execute when a Trigger Event occurs.

Type declaration:

▸ (context: ActionContext, params: ActionInputParameters‹TInputs›): Promise‹void | TriggerEventFunctionReturn

Parameters:

NameType
contextActionContext
paramsActionInputParameters‹TInputs›

TriggerEventFunctionReturn

Ƭ TriggerEventFunctionReturn: object

Defined in packages/spectral/src/types/TriggerEventFunction.ts:3

Type declaration:

  • crossFlowState? : Record‹string, unknown›

  • executionState? : Record‹string, unknown›

  • instanceState? : Record‹string, unknown›

  • integrationState? : Record‹string, unknown›