PHP - Manual: GearmanTask::isRunning
2024-12-22
(PECL gearman >= 0.5.0)
GearmanTask::isRunning — Test whether the task is currently running
Indicates whether or not this task is currently running.
此函数没有参数。
true
if the task is running, false
otherwise.
官方地址:https://www.php.net/manual/en/gearmantask.isrunning.php