PHP 8.4.0 RC4 available for testing

parallel\Future::cancel

(0.9.0)

parallel\Future::cancelCancellation

Descrição

public parallel\Future::cancel(): bool

Shall try to cancel the task

Nota:

If task is running, it will be interrupted.

Aviso

Internal function calls in progress cannot be interrupted.

Exceptions

Aviso

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

Aviso

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

adicione uma nota

Notas Enviadas por Usuários (em inglês)

Não há notas de usuários para esta página.
To Top