(0.9.0)
parallel\Future::cancel — Cancellation
Shall try to cancel the task
注意:
If task is running, it will be interrupted.
Internal function calls in progress cannot be interrupted.
Shall throw \parallel\Future\Error\Killed if \parallel\Runtime executing task was killed.
Shall throw \parallel\Future\Error\Cancelled if task was already cancelled.