diff --git a/stubs/rx/concurrency/catchscheduler.pyi b/stubs/rx/concurrency/catchscheduler.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/concurrency/catchscheduler.pyi @@ -0,0 +1,15 @@ +# Stubs for rx.concurrency.catchscheduler (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +import abc +from .schedulerbase import SchedulerBase +from typing import Any, Optional + +class CatchScheduler(SchedulerBase, metaclass=abc.ABCMeta): + def __init__(self, scheduler: Any, handler: Any) -> None: ... + def local_now(self): ... + def schedule_now(self, state: Any, action: 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] = ...): ...