lib/Loop/Loop.php
protected function runNextTicks()
    {
        $nextTick = $this->nextTick;
        $this->nextTick = [];

        foreach ($nextTick as $cb) {
            $cb();
        }
    }
protected function runNextTicks()
    {
        $nextTick = $this->nextTick;
        $this->nextTick = [];

        foreach ($nextTick as $cb) {
            $cb();
        }
    }
protected function runNextTicks ( ) { $ nextTick = $ this -> nextTick ; $ this -> nextTick = [ ] ; foreach ( $ nextTick as $ cb ) { $ cb ( ) ; } }
Executes all 'nextTick' callbacks.

return void
Executes all nextTick callbacks .