Amp\Parallel\Worker\Internal\TaskFailure class TaskFailure extends Amp\Parallel\Worker\Internal\TaskResult

Summary

Properties

Methods

Properties

Methods

__construct — public function __construct(string $id, Throwable $exception)
No documentation.
Type Parameter Description Default Value
string $id Task identifier. none
Throwable $exception No documentation. none
promise — public function promise(): Amp\Promise
No documentation.
getId — public function getId(): string
No documentation.