« parallel\Future::done
parallel\Channel »

parallel\Future::value

(0.8.0)

parallel\Future::value — Resolution

説明

public function 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

関連キーワード:
parallel   Future   task   throw   Resolution   return   uncaught   Channel   mixed   necessary   wait   Exceptions   waiting   failed   internal   Killed   Runtime   executing   killed   Cancelled   cancelled   Foreign   raised   unrecognized   exception
関連する関数・ページ:
parallel-future.cancel   parallel-future.done   parallel-future.cancelled   class.parallel-future   parallel-runtime.run   book.parallel