Php/docs/gearmantask.tasknumerator

来自菜鸟教程
跳转至:导航、​搜索

GearmanTask::taskNumerator

(PECL gearman >= 0.5.0)

GearmanTask::taskNumeratorGet completion percentage numerator


说明

public GearmanTask::taskNumerator ( ) : int

Returns the numerator of the percentage of the task that is complete expressed as a fraction.


参数

此函数没有参数。


返回值

A number between 0 and 100, or false if cannot be determined.


参见