PHP 7.4.0RC4 Released!

parallel\Future::cancel

(0.9.0)

parallel\Future::cancelCancellation

DescripciĆ³n

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

Shall try to cancel the task

Nota:

If task is running, it will be interrupted.

Advertencia

Internal function calls in progress cannot be interrupted.

Exceptions

Advertencia

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

Advertencia

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

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top