GearmanTask::taskNumerator
(PECL gearman >= 0.5.0)
GearmanTask::taskNumerator — Get completion percentage numerator
Description
public GearmanTask::taskNumerator ( ) : int
Returns the numerator of the percentage of the task that is complete expressed as a fraction.
Parameters
This function has no parameters.
Return Values
A number between 0 and 100, or false
if cannot be determined.
See Also
- GearmanTask::taskDenominator() - Get completion percentage denominator
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/gearmantask.tasknumerator.php