# Stubs for rx.concurrency.virtualtimescheduler (Python 3)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from .scheduleditem import ScheduledItem
from .scheduleperiodic import SchedulePeriodic
from .schedulerbase import SchedulerBase
from typing import Any, Optional
log: Any
class VirtualTimeScheduler(SchedulerBase):
clock: Any = ...
is_enabled: bool = ...
queue: Any = ...
def __init__(self, initial_clock: int = ...) -> None: ...
@property
def now(self): ...
def schedule(self, action: Any, state: Optional[Any] = ...): ...
def schedule_relative(self, duetime: Any, action: Any, state: Optional[Any] = ...): ...
def schedule_absolute(self, duetime: Any, action: Any, state: Optional[Any] = ...): ...
def schedule_periodic(self, period: Any, action: Any, state: Optional[Any] = ...): ...
def start(self) -> None: ...
def stop(self) -> None: ...
def advance_to(self, time: Any) -> None: ...
def advance_by(self, time: Any): ...
def sleep(self, time: Any) -> None: ...
def get_next(self): ...
@staticmethod
def add(absolute: Any, relative: Any) -> None: ...