PHP Class Rx\Scheduler\EventLoopScheduler

Inheritance: implements Rx\SchedulerInterface
Afficher le fichier Open project: ReactiveX/RxPHP Class Usage Examples

Méthodes publiques

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

Method Details

__construct() public méthode

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

now() public méthode

public now ( )

scheduleAbsoluteWithState() public méthode

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

start() public méthode

public start ( )