php教程

parallel\Future::cancel

(0.9.0)

parallel\Future::cancelCancellation

说明

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.

User Contributed Notes

There are no user contributed notes for this page.

CopyRight © 2008-2022 verySource.Com All Rights reserved. 京ICP备17048824号-1 京公网安备:11010502034788