Temporal Docs PHP SDK API Version 2.20 (latest release) Release notes

Documentation

RoadRunnerChildWorkflowInvocationCache
in package
implements ChildWorkflowInvocationCacheInterface

FinalYes

Table of Contents

Interfaces

ChildWorkflowInvocationCacheInterface

Constants

CACHE_NAME  : mixed = 'test'
INVOKED_PREFIX  : mixed = 'childWorkflowInvoked.'
KEY_PREFIX  : mixed = 'childWorkflow.'
SIDE_EFFECT_CURSOR  : mixed = 'sideEffect.cursor'
SIDE_EFFECT_LIST  : mixed = 'sideEffect.list'
VERSION_PREFIX  : mixed = 'workflowVersion.'

Properties

$cache  : StorageInterface
$dataConverter  : DataConverterInterface

Methods

__construct()  : mixed
clear()  : void
create()  : self
get()  : InvocationResult|InvocationFailure|InvocationMatched
getVersion()  : int
has()  : bool
hasSideEffect()  : bool
hasVersion()  : bool
nextSideEffect()  : mixed
recordInvoked()  : void
saveCompletion()  : void
saveCompletionWhen()  : void
saveFailure()  : void
saveSideEffect()  : void
saveVersion()  : void
wasInvoked()  : bool
sideEffectCursor()  : int

Constants

Properties

Methods

saveCompletion()

public saveCompletion(string $workflowType, mixed $value) : void
Parameters
$workflowType : string
$value : mixed

Child workflow result: anything the DataConverter can encode, or an EncodedValues.

saveCompletionWhen()

public saveCompletionWhen(string $workflowType, array<string|int, mixed> $args, mixed $value) : void
Parameters
$workflowType : string
$args : array<string|int, mixed>

Start arguments to byte-match against, encoded via the DataConverter.

$value : mixed

Result returned on a match: anything the DataConverter can encode, or an EncodedValues.

On this page

Search results