parallel\Future::value

(0.8.0)

parallel\Future::valueResolution

Описание

public parallel\Future::value ( void ) : 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