PHP - Manual: GearmanTask::isRunning
2025-02-27
(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.
true
false
官方地址:https://www.php.net/manual/en/gearmantask.isrunning.php