« parallel\Future
parallel\Future::cancelled »

parallel\Future::cancel

(0.9.0)

parallel\Future::cancel — Cancellation

説明

public function parallel\Future::cancel(): bool

Shall try to cancel the task

注意:

If task is running, it will be interrupted.

警告

Internal function calls in progress cannot be interrupted.

Exceptions

警告

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

警告

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

関連キーワード:
parallel   Future   cancel   task   Cancellation   cancelled   interrupted   throw   running   Internal   calls   progress   cannot   Exceptions   Killed   Runtime   executing   killed   Cancelled   already
関連する関数・ページ:
parallel-future.value   parallel-future.cancelled   parallel-future.done   class.parallel-future   class.parallel-events-event-type   book.parallel