Method | Description | |
---|---|---|
__construct ( callable | React\EventLoop\LoopInterface $timerCallableOrLoop ) | NewEventLoopScheduler constructor. | |
now ( ) | ||
scheduleAbsoluteWithState ( $state, $dueTime, callable $action ) | ||
start ( ) |
public __construct ( callable | React\EventLoop\LoopInterface $timerCallableOrLoop ) | ||
$timerCallableOrLoop | callable | React\EventLoop\LoopInterface |
public scheduleAbsoluteWithState ( $state, $dueTime, callable $action ) | ||
$action | callable |