PHP Class Rx\Scheduler\ImmediateScheduler

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

Public Methods

Method Description
now ( ) Returns milliseconds since the start of the epoch.
schedule ( callable $action, $delay )
schedulePeriodic ( callable $action, $delay, $period )
scheduleRecursive ( callable $action )

Method Details

now() public method

Returns milliseconds since the start of the epoch.
public now ( )

schedule() public method

public schedule ( callable $action, $delay )
$action callable

schedulePeriodic() public method

public schedulePeriodic ( callable $action, $delay, $period )
$action callable

scheduleRecursive() public method

public scheduleRecursive ( callable $action )
$action callable