Queue
AbstractYes
Table of Contents
Methods
- __construct() : mixed
- wait() : array<string|int, Promise>
- Waits for promises and returns an array with fullfilled or rejected promises.
Methods
__construct()
public
__construct([bool $backgroundJob = true ]) : mixed
Parameters
- $backgroundJob : bool = true
wait()
Waits for promises and returns an array with fullfilled or rejected promises.
public
abstract wait([Promise|null $targetPromise = null ]) : array<string|int, Promise>
Parameters
- $targetPromise : Promise|null = null
-
If specified, returns on fullfilling or rejecting this promise