Rx\Scheduler\EventLoopScheduler::scheduleAbsoluteWithState PHP Method

scheduleAbsoluteWithState() public method

public scheduleAbsoluteWithState ( $state, $dueTime, callable $action )
$action callable
    public function scheduleAbsoluteWithState($state, $dueTime, callable $action)
    {
        $disp = parent::scheduleAbsoluteWithState($state, $dueTime, $action);
        if (!$this->insideInvoke) {
            call_user_func($this->timerCallable, 0, [$this, 'start']);
        }
        return $disp;
    }