# Stubs for rx.concurrency.eventloopscheduler (Python 3)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from .schedulerbase import SchedulerBase
from rx.core import Disposable
from typing import Any, Optional
log: Any
class EventLoopScheduler(SchedulerBase, Disposable):
is_disposed: bool = ...
lock: Any = ...
thread_factory: Any = ...
thread: Any = ...
timer: Any = ...
condition: Any = ...
queue: Any = ...
ready_list: Any = ...
next_item: Any = ...
exit_if_empty: Any = ...
def __init__(self, thread_factory: Optional[Any] = ..., exit_if_empty: bool = ...) -> None: ...
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 ensure_thread(self) -> None: ...
def run(self) -> None: ...
def dispose(self) -> None: ...
def tick(self, item: Any) -> None: ...
event_loop_scheduler: Any