diff --git a/stubs/rx/concurrency/newthreadscheduler.pyi b/stubs/rx/concurrency/newthreadscheduler.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/concurrency/newthreadscheduler.pyi @@ -0,0 +1,19 @@ +# Stubs for rx.concurrency.newthreadscheduler (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from .eventloopscheduler import EventLoopScheduler +from .schedulerbase import SchedulerBase +from typing import Any, Optional + +log: Any + +class NewThreadScheduler(SchedulerBase): + thread_factory: Any = ... + def __init__(self, thread_factory: Optional[Any] = ...) -> 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] = ...): ... + +new_thread_scheduler: Any