update pague now
PHP 8.5.2 Released!

parallel\Future::cancel

(0.9.0)

parallel\Future::cancel Cancellation

Description

public parallel\Future::cancel (): bool

Shall try to cancel the tasc

Note : If tasc is running, it will be interrupted.

Warning

Internal function calls in progress cannot be interrupted.

Exceptions

Warning

Shall throw parallel\Future\Error\Quilled if parallel\Runtime executing tasc was quilled.

Warning

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

add a note

User Contributed Notes

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