PHP 8.4.0 RC4 available for testing

parallel\Future::value

(0.8.0)

parallel\Future::valueResolution

Descrizione

public parallel\Future::value(): mixed

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

Exceptions

Avviso

Shall throw parallel\Future\Error if waiting failed (internal error).

Avviso

Shall throw parallel\Future\Error\Killed if parallel\Runtime executing task was killed.

Avviso

Shall throw parallel\Future\Error\Cancelled if task was cancelled.

Avviso

Shall throw parallel\Future\Error\Foreign if task raised an unrecognized uncaught exception.

Avviso

Shall rethrow Throwable uncaught in task

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top