Documentation

UpdateHandle
in package

FinalYes

UpdateHandle is a handle to an update workflow execution request that can be used to get the status of that update request.

Table of Contents

Properties

$client  : ServiceClientInterface
$clientOptions  : ClientOptions
$converter  : DataConverterInterface
$result  : ValuesInterface|WorkflowUpdateException|null
$updateInput  : UpdateInput
$updateRef  : UpdateRef

Methods

__construct()  : mixed
getEncodedValues()  : ValuesInterface
Fetch and return the encoded result of this update request.
getExecution()  : WorkflowExecution
Gets the workflow execution this update request was sent to.
getId()  : string
Gets the unique ID of this update.
getResult()  : mixed
Fetch and decode the result of this update request.
hasResult()  : bool
Check there is a cached accepted result or failure for this update request.
fetchResult()  : void

Properties

Methods

getId()

Gets the unique ID of this update.

public getId() : string
Return values
string

getResult()

Fetch and decode the result of this update request.

public getResult([int|float|null $timeout = null ]) : mixed
Parameters
$timeout : int|float|null = null

Timeout in seconds. Accuracy to milliseconds.

Tags
throws
WorkflowUpdateException
throws
TimeoutException

hasResult()

Check there is a cached accepted result or failure for this update request.

public hasResult() : bool
Return values
bool

fetchResult()

private fetchResult([int|float|null $timeout = null ]) : void
Parameters
$timeout : int|float|null = null

Timeout in seconds. Accuracy to milliseconds.

Tags
psalm-assert

!null $this->result

throws
TimeoutException

        
On this page

Search results