diff stubs/rx/concurrency/virtualtimescheduler.pyi @ 1947:3b2255e3576d

big stubgen run for PIL, moviepy, rx Ignore-this: 349c755d8d70fdd1ff5711bde41f1dcb
author Drew Perttula <drewp@bigasterisk.com>
date Wed, 05 Jun 2019 23:14:49 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/stubs/rx/concurrency/virtualtimescheduler.pyi	Wed Jun 05 23:14:49 2019 +0000
@@ -0,0 +1,30 @@
+# 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: ...