编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « parallel\Future
  • parallel\Future::cancelled »
  • PHP Manual
  • parallel\Future
  • Cancellation

parallel\Future::cancel

(0.9.0)

parallel\Future::cancel — Cancellation

说明

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

Shall try to cancel the task

Note:

If task is running, it will be interrupted.

Warning

Internal function calls in progress cannot be interrupted.

Exceptions

Warning

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

Warning

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

相关文章
php parallel the parallel future classphp eio 函数 set minimum parallel thread numberphp gearmanclient add a task to be run in parallelphp gearmanclient add a background task to be run in parallelphp gearmanclient add a high priority task to run in parallelphp gearmanclient add a high priority background task to be run in parallelphp gearmanclient add a low priority task to run in parallelphp parallel 简介php parallel channel closingphp parallel channel accessphp parallel channel accessphp parallel channel sharingphp parallel channel sharingphp parallel events behaviourphp parallel future cancellationphp parallel future state detectionphp parallel future state detectionphp parallel future resolutionphp parallel runtime runtime graceful joinphp parallel runtime runtime construction
关注编程学问公众号
编程学问网 湘ICP备20001732号