GearmanTask::isRunning

(PECL gearman >= 0.5.0)

GearmanTask::isRunningTest whether the task is currently running

说明

public GearmanTask::isRunning(): bool

Indicates whether or not this task is currently running.

参数

此函数没有参数。

返回值

true if the task is running, false otherwise.