parallel\Future::cancel
(0.9.0)
parallel\Future::cancel — Cancellation
Beschreibung
Shall try to cancel the task
Hinweis:
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.