You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This code never evaluates to true as getCompletionPercent() will not usually return 1 unless you happen to request jobstatus at the exact moment it hits 1.
public function isFinished()
{
return $this->isKnown() && !$this->isRunning() && $this->getCompletionPercent() == 1;
}
The text was updated successfully, but these errors were encountered:
This code never evaluates to true as getCompletionPercent() will not usually return 1 unless you happen to request jobstatus at the exact moment it hits 1.
The text was updated successfully, but these errors were encountered: