Interface: Plugin
Defined in: index.ts:240
Properties
name
name:
string
Defined in: index.ts:242
Unique name for the plugin.
Methods
onAfterNodeExecution()?
optionalonAfterNodeExecution(context):Promise<void>
Defined in: index.ts:248
Called after a node is executed successfully.
Parameters
context
Returns
Promise<void>
onBeforeNodeExecution()?
optionalonBeforeNodeExecution(context):Promise<void>
Defined in: index.ts:245
Called before a node is executed.
Parameters
context
Returns
Promise<void>
onNodeError()?
optionalonNodeError(context):Promise<void>
Defined in: index.ts:251
Called when a node execution fails.
Parameters
context
Returns
Promise<void>
onWorkflowComplete()?
optionalonWorkflowComplete(snapshot):Promise<void>
Defined in: index.ts:257
Called when the workflow completes successfully.
Parameters
snapshot
Returns
Promise<void>
onWorkflowPause()?
optionalonWorkflowPause(snapshot):Promise<void>
Defined in: index.ts:260
Called when the workflow is paused.
Parameters
snapshot
Returns
Promise<void>
onWorkflowStart()?
optionalonWorkflowStart(snapshot):Promise<void>
Defined in: index.ts:254
Called when the workflow starts.
Parameters
snapshot
Returns
Promise<void>