PHP - Manual: parallel\Future::value
2024-11-13
(0.8.0)
parallel\Future::value — Resolution
Shall throw parallel\Future\Error if waiting failed (internal error).
Shall throw parallel\Future\Error\Killed if parallel\Runtime executing task was killed.
Shall throw parallel\Future\Error\Cancelled if task was cancelled.
Shall throw parallel\Future\Error\Foreign if task raised an unrecognized uncaught exception.
Shall rethrow Throwable uncaught in task
官方地址:https://www.php.net/manual/en/parallel-future.value.php