PHP - Manual: parallel\Runtime::kill
2024-12-21
(0.8.0)
parallel\Runtime::kill — Runtime Join
Shall attempt to force the runtime to shutdown.
注意:
Tasks scheduled for execution will not be executed, the currently running task shall be interrupted.
Internal function calls in progress cannot be interrupted.
Shall throw parallel\Runtime\Error\Closed if Runtime was closed.
官方地址:https://www.php.net/manual/en/parallel-runtime.kill.php