parallel\Future::cancel

(0.9.0)

parallel\Future::cancelCancellation

Açıklama

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

Shall try to cancel the task

Bilginize:

If task is running, it will be interrupted.

Uyarı

Internal function calls in progress cannot be interrupted.

Exceptions

Uyarı

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

Uyarı

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