略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: parallel\Future::value

2024-11-13

parallel\Future::value

(0.8.0)

parallel\Future::valueResolution

说明

public parallel\Future::value(): mixed

Shall return (and if necessary wait for) return from task

Exceptions

警告

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

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/parallel-future.value.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3