Durable Workflow PHP SDK — API Reference

Guides

WorkflowHandleInterface

Workflow interactions shared by live and in-memory handles.

Table of Contents

Methods

query()  : mixed
result()  : mixed
signal()  : void
update()  : mixed

Methods

query()

public query(string $name[, array<int, mixed> $arguments = [] ]) : mixed
Parameters
$name : string
$arguments : array<int, mixed> = []

result()

public result([float $timeoutSeconds = 30.0 ][, float $pollIntervalSeconds = 0.5 ]) : mixed
Parameters
$timeoutSeconds : float = 30.0
$pollIntervalSeconds : float = 0.5

signal()

public signal(string $name[, array<int, mixed> $arguments = [] ]) : void
Parameters
$name : string
$arguments : array<int, mixed> = []

update()

public update(string $name[, array<int, mixed> $arguments = [] ][, string $waitFor = 'completed' ][, int|null $waitTimeoutSeconds = null ][, string|null $requestId = null ]) : mixed
Parameters
$name : string
$arguments : array<int, mixed> = []
$waitFor : string = 'completed'
$waitTimeoutSeconds : int|null = null
$requestId : string|null = null
On this page

Search results