Interface: WorkflowInternalsInterceptor
workflow.WorkflowInternalsInterceptor
Interceptor for the internals of the Workflow runtime.
Use to manipulate or trace Workflow activations.
Implemented by
Methods
activate
▸ Optional
activate(input
, next
): void
Called when the Workflow runtime runs a WorkflowActivationJob.
Parameters
Name | Type |
---|---|
input | ActivateInput |
next | OmitLastParam <(input : ActivateInput , next : OmitLastParam <(input: ActivateInput, next: OmitLastParam<...>) => void>) => void > |
Returns
void
concludeActivation
▸ Optional
concludeActivation(input
, next
): ConcludeActivationInput
Called after all WorkflowActivationJob
s have been processed for an activation.
Can manipulate the commands generated by the Workflow
Parameters
Name | Type |
---|---|
input | ConcludeActivationInput |
next | OmitLastParam <(input : ConcludeActivationInput , next : OmitLastParam <(input: ConcludeActivationInput, next: OmitLastParam<...>) => ConcludeActivationInput>) => ConcludeActivationInput > |
Returns
dispose
▸ Optional
dispose(input
, next
): Promise
<void
>
Called before disposing the Workflow isolate context.
Implement this method to perform any resource cleanup.
Parameters
Name | Type |
---|---|
input | DisposeInput |
next | OmitLastParam <(input : DisposeInput , next : OmitLastParam <(input: DisposeInput, next: OmitLastParam<...>) => Promise<void>>) => Promise <void >> |
Returns
Promise
<void
>