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.

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

true if the task is running, false otherwise.