Skip to main content

Class: WorkflowInboundLogInterceptor

worker.WorkflowInboundLogInterceptor

Logs Workflow execution starts and completions

Implements

Constructors

constructor

new WorkflowInboundLogInterceptor()

Methods

execute

execute(input, next): Promise<unknown>

Called when Workflow execute method is called

Parameters

NameType
inputWorkflowExecuteInput
nextOmitLastParam<(input: WorkflowExecuteInput, next: OmitLastParam<(input: WorkflowExecuteInput, next: OmitLastParam<...>) => Promise<unknown>>) => Promise<unknown>>

Returns

Promise<unknown>

result of the Workflow execution

Implementation of

WorkflowInboundCallsInterceptor.execute