Interface: WorkflowInternalsInterceptor
workflow.WorkflowInternalsInterceptor
Interceptor for the internals of the Workflow runtime.
Use to manipulate or trace Workflow activations.
This API is for advanced use cases and may change in the future.
Implemented by
Methods
activate
▸ 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
▸ 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
▸ dispose(input
, next
): 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<...>) => void>) => void > |
Returns
void