Durable Workflow PHP SDK

ActivityContext
in package

FinalYes

Activity attempt metadata and heartbeat/cancellation support.

Table of Contents

Properties

$activityAttemptId  : string
$activityType  : string
$attemptNumber  : int
$leaseOwner  : string
$taskId  : string
$client  : Client

Methods

__construct()  : mixed
heartbeat()  : void

Properties

Methods

__construct()

public __construct(Client $client, string $taskId, string $activityAttemptId, string $leaseOwner, string $activityType, int $attemptNumber) : mixed
Parameters
$client : Client
$taskId : string
$activityAttemptId : string
$leaseOwner : string
$activityType : string
$attemptNumber : int

heartbeat()

public heartbeat([array<string, mixed> $details = [] ]) : void
Parameters
$details : array<string, mixed> = []
On this page

Search results