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

Summary

Properties

Methods

Properties

Methods

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