Example #1
0
 private function isReady($currentTicks)
 {
     return count($this->tasks) > 0 and $this->queue->current()->getNextRun() <= $currentTicks;
 }