WorkflowOutboundCallsInterceptorTrait
Trait that provides a default interceptor implementation.
Tags
Table of Contents
Methods
- await() : PromiseInterface
- Default implementation of the `await` method.
- awaitWithTimeout() : PromiseInterface
- Default implementation of the `awaitWithTimeout` method.
- cancelExternalWorkflow() : PromiseInterface
- Default implementation of the `cancelExternalWorkflow` method.
- complete() : PromiseInterface
- Default implementation of the `complete` method.
- continueAsNew() : PromiseInterface
- Default implementation of the `continueAsNew` method.
- executeActivity() : PromiseInterface
- Default implementation of the `executeActivity` method.
- executeChildWorkflow() : PromiseInterface
- Default implementation of the `executeChildWorkflow` method.
- executeLocalActivity() : PromiseInterface
- Default implementation of the `executeLocalActivity` method.
- getVersion() : PromiseInterface
- Default implementation of the `getVersion` method.
- panic() : PromiseInterface
- Default implementation of the `panic` method.
- sideEffect() : mixed
- Default implementation of the `sideEffect` method.
- signalExternalWorkflow() : PromiseInterface
- Default implementation of the `signalExternalWorkflow` method.
- timer() : PromiseInterface
- Default implementation of the `timer` method.
- upsertSearchAttributes() : PromiseInterface
- Default implementation of the `upsertSearchAttributes` method.
Methods
await()
Default implementation of the `await` method.
public
await(AwaitInput $input, callable $next) : PromiseInterface
Parameters
- $input : AwaitInput
- $next : callable
Tags
Return values
PromiseInterfaceawaitWithTimeout()
Default implementation of the `awaitWithTimeout` method.
public
awaitWithTimeout(AwaitWithTimeoutInput $input, callable $next) : PromiseInterface
Parameters
- $input : AwaitWithTimeoutInput
- $next : callable
Tags
Return values
PromiseInterfacecancelExternalWorkflow()
Default implementation of the `cancelExternalWorkflow` method.
public
cancelExternalWorkflow(CancelExternalWorkflowInput $input, callable $next) : PromiseInterface
Parameters
- $input : CancelExternalWorkflowInput
- $next : callable
Tags
Return values
PromiseInterfacecomplete()
Default implementation of the `complete` method.
public
complete(CompleteInput $input, callable $next) : PromiseInterface
Parameters
- $input : CompleteInput
- $next : callable
Tags
Return values
PromiseInterfacecontinueAsNew()
Default implementation of the `continueAsNew` method.
public
continueAsNew(ContinueAsNewInput $input, callable $next) : PromiseInterface
Parameters
- $input : ContinueAsNewInput
- $next : callable
Tags
Return values
PromiseInterfaceexecuteActivity()
Default implementation of the `executeActivity` method.
public
executeActivity(ExecuteActivityInput $input, callable $next) : PromiseInterface
Parameters
- $input : ExecuteActivityInput
- $next : callable
Tags
Return values
PromiseInterfaceexecuteChildWorkflow()
Default implementation of the `executeChildWorkflow` method.
public
executeChildWorkflow(ExecuteChildWorkflowInput $input, callable $next) : PromiseInterface
Parameters
- $input : ExecuteChildWorkflowInput
- $next : callable
Tags
Return values
PromiseInterfaceexecuteLocalActivity()
Default implementation of the `executeLocalActivity` method.
public
executeLocalActivity(ExecuteLocalActivityInput $input, callable $next) : PromiseInterface
Parameters
- $input : ExecuteLocalActivityInput
- $next : callable
Tags
Return values
PromiseInterfacegetVersion()
Default implementation of the `getVersion` method.
public
getVersion(GetVersionInput $input, callable $next) : PromiseInterface
Parameters
- $input : GetVersionInput
- $next : callable
Tags
Return values
PromiseInterfacepanic()
Default implementation of the `panic` method.
public
panic(PanicInput $input, callable $next) : PromiseInterface
Parameters
- $input : PanicInput
- $next : callable
Tags
Return values
PromiseInterfacesideEffect()
Default implementation of the `sideEffect` method.
public
sideEffect(SideEffectInput $input, callable $next) : mixed
Parameters
- $input : SideEffectInput
- $next : callable
Tags
signalExternalWorkflow()
Default implementation of the `signalExternalWorkflow` method.
public
signalExternalWorkflow(SignalExternalWorkflowInput $input, callable $next) : PromiseInterface
Parameters
- $input : SignalExternalWorkflowInput
- $next : callable
Tags
Return values
PromiseInterfacetimer()
Default implementation of the `timer` method.
public
timer(TimerInput $input, callable $next) : PromiseInterface
Parameters
- $input : TimerInput
- $next : callable
Tags
Return values
PromiseInterfaceupsertSearchAttributes()
Default implementation of the `upsertSearchAttributes` method.
public
upsertSearchAttributes(UpsertSearchAttributesInput $input, callable $next) : PromiseInterface
Parameters
- $input : UpsertSearchAttributesInput
- $next : callable