annotate stubs/rx/concurrency/schedulerbase.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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1947
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
1 # Stubs for rx.concurrency.schedulerbase (Python 3)
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
2 #
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
3 # NOTE: This dynamically typed stub was automatically generated by stubgen.
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
4
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
5 import abc
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
6 from rx.core import Scheduler
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
7 from typing import Any, Optional
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
8
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
9 class SchedulerBase(Scheduler, metaclass=abc.ABCMeta):
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
10 def invoke_action(self, action: Any, state: Optional[Any] = ...): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
11 def schedule_periodic(self, period: Any, action: Any, state: Optional[Any] = ...): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
12 @property
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
13 def now(self): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
14 @classmethod
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
15 def to_relative(cls, timespan: Any): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
16 @classmethod
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
17 def to_datetime(cls, duetime: Any): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
18 @classmethod
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
19 def to_timedelta(cls, timespan: Any): ...
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
20 @classmethod
3b2255e3576d big stubgen run for PIL, moviepy, rx
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
21 def normalize(cls, timespan: Any): ...