massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / third_party / 2 / tornado / ioloop.pyi
diff --git a/.config/coc/extensions/coc-python-data/languageServer.0.5.59/Typeshed/third_party/2/tornado/ioloop.pyi b/.config/coc/extensions/coc-python-data/languageServer.0.5.59/Typeshed/third_party/2/tornado/ioloop.pyi
new file mode 100644 (file)
index 0000000..c174b79
--- /dev/null
@@ -0,0 +1,84 @@
+from typing import Any\r
+from tornado.util import Configurable\r
+\r
+signal = ...  # type: Any\r
+\r
+class TimeoutError(Exception): ...\r
+\r
+class IOLoop(Configurable):\r
+    NONE = ...  # type: Any\r
+    READ = ...  # type: Any\r
+    WRITE = ...  # type: Any\r
+    ERROR = ...  # type: Any\r
+    @staticmethod\r
+    def instance(): ...\r
+    @staticmethod\r
+    def initialized(): ...\r
+    def install(self): ...\r
+    @staticmethod\r
+    def clear_instance(): ...\r
+    @staticmethod\r
+    def current(instance=...): ...\r
+    def make_current(self): ...\r
+    @staticmethod\r
+    def clear_current(): ...\r
+    @classmethod\r
+    def configurable_base(cls): ...\r
+    @classmethod\r
+    def configurable_default(cls): ...\r
+    def initialize(self, make_current=...): ...\r
+    def close(self, all_fds=...): ...\r
+    def add_handler(self, fd, handler, events): ...\r
+    def update_handler(self, fd, events): ...\r
+    def remove_handler(self, fd): ...\r
+    def set_blocking_signal_threshold(self, seconds, action): ...\r
+    def set_blocking_log_threshold(self, seconds): ...\r
+    def log_stack(self, signal, frame): ...\r
+    def start(self): ...\r
+    def stop(self): ...\r
+    def run_sync(self, func, timeout=...): ...\r
+    def time(self): ...\r
+    def add_timeout(self, deadline, callback, *args, **kwargs): ...\r
+    def call_later(self, delay, callback, *args, **kwargs): ...\r
+    def call_at(self, when, callback, *args, **kwargs): ...\r
+    def remove_timeout(self, timeout): ...\r
+    def add_callback(self, callback, *args, **kwargs): ...\r
+    def add_callback_from_signal(self, callback, *args, **kwargs): ...\r
+    def spawn_callback(self, callback, *args, **kwargs): ...\r
+    def add_future(self, future, callback): ...\r
+    def handle_callback_exception(self, callback): ...\r
+    def split_fd(self, fd): ...\r
+    def close_fd(self, fd): ...\r
+\r
+class PollIOLoop(IOLoop):\r
+    time_func = ...  # type: Any\r
+    def initialize(self, impl, time_func=..., **kwargs): ...\r
+    def close(self, all_fds=...): ...\r
+    def add_handler(self, fd, handler, events): ...\r
+    def update_handler(self, fd, events): ...\r
+    def remove_handler(self, fd): ...\r
+    def set_blocking_signal_threshold(self, seconds, action): ...\r
+    def start(self): ...\r
+    def stop(self): ...\r
+    def time(self): ...\r
+    def call_at(self, deadline, callback, *args, **kwargs): ...\r
+    def remove_timeout(self, timeout): ...\r
+    def add_callback(self, callback, *args, **kwargs): ...\r
+    def add_callback_from_signal(self, callback, *args, **kwargs): ...\r
+\r
+class _Timeout:\r
+    deadline = ...  # type: Any\r
+    callback = ...  # type: Any\r
+    tiebreaker = ...  # type: Any\r
+    def __init__(self, deadline, callback, io_loop) -> None: ...\r
+    def __lt__(self, other): ...\r
+    def __le__(self, other): ...\r
+\r
+class PeriodicCallback:\r
+    callback = ...  # type: Any\r
+    callback_time = ...  # type: Any\r
+    io_loop = ...  # type: Any\r
+    def __init__(self, callback, callback_time, io_loop=...) -> None: ...\r
+    def start(self): ...\r
+    def stop(self): ...\r
+    def is_running(self): ...\r