PHP Class Rx\Scheduler\EventLoopScheduler

Inheritance: implements Rx\SchedulerInterface
Show file Open project: ReactiveX/RxPHP Class Usage Examples

Public Methods

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

Method Details

__construct() public method

NewEventLoopScheduler constructor.
public __construct ( callable | React\EventLoop\LoopInterface $timerCallableOrLoop )
$timerCallableOrLoop callable | React\EventLoop\LoopInterface

now() public method

public now ( )

scheduleAbsoluteWithState() public method

public scheduleAbsoluteWithState ( $state, $dueTime, callable $action )
$action callable

start() public method

public start ( )