parallel\Future::cancel
(0.9.0)
parallel\Future::cancel — Cancellation
Description
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 Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
