Свойство | Тип | Описание | |
---|---|---|---|
$clock | |||
$comparer | |||
$isEnabled | |||
$queue |
Метод | Описание | |
---|---|---|
__construct ( integer $initialClock, callable $comparer ) | ||
getClock ( ) | ||
getNext ( ) | ||
now ( ) | ||
schedule ( callable $action, $delay ) | ||
scheduleAbsolute ( $dueTime, $action ) | ||
scheduleAbsoluteWithState ( $state, $dueTime, callable $action ) | ||
schedulePeriodic ( callable $action, $delay, $period ) | ||
scheduleRecursive ( callable $action ) | ||
scheduleRelativeWithState ( $state, $dueTime, $action ) | ||
start ( ) |
public __construct ( integer $initialClock, callable $comparer ) | ||
$initialClock | integer | Initial value for the clock. |
$comparer | callable | Comparer to determine causality of events based on absolute time. |
public scheduleAbsoluteWithState ( $state, $dueTime, callable $action ) | ||
$action | callable |
public schedulePeriodic ( callable $action, $delay, $period ) | ||
$action | callable |
public scheduleRelativeWithState ( $state, $dueTime, $action ) |