Documentation

ActivityStubInterface

Table of Contents

Methods

execute()  : CompletableResultInterface
Executes an activity asynchronously by its type name and arguments.
getOptions()  : ActivityOptionsInterface

Methods

execute()

Executes an activity asynchronously by its type name and arguments.

public execute(string $name[, array<string|int, mixed> $args = [] ][, Type|string|ReflectionClass|ReflectionType|null $returnType = null ][, bool $isLocalActivity = false ]) : CompletableResultInterface
Parameters
$name : string

name of an activity type to execute.

$args : array<string|int, mixed> = []

arguments of the activity.

$returnType : Type|string|ReflectionClass|ReflectionType|null = null
$isLocalActivity : bool = false
Return values
CompletableResultInterface

Promise to the activity result.


        
On this page

Search results