massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / third_party / 2 / tornado / concurrent.pyi
diff --git a/.config/coc/extensions/coc-python-data/languageServer.0.5.59/Typeshed/third_party/2/tornado/concurrent.pyi b/.config/coc/extensions/coc-python-data/languageServer.0.5.59/Typeshed/third_party/2/tornado/concurrent.pyi
new file mode 100644 (file)
index 0000000..3d0b2eb
--- /dev/null
@@ -0,0 +1,43 @@
+from typing import Any\r
+\r
+futures = ...  # type: Any\r
+\r
+class ReturnValueIgnoredError(Exception): ...\r
+\r
+class _TracebackLogger:\r
+    exc_info = ...  # type: Any\r
+    formatted_tb = ...  # type: Any\r
+    def __init__(self, exc_info) -> None: ...\r
+    def activate(self): ...\r
+    def clear(self): ...\r
+    def __del__(self): ...\r
+\r
+class Future:\r
+    def __init__(self) -> None: ...\r
+    def cancel(self): ...\r
+    def cancelled(self): ...\r
+    def running(self): ...\r
+    def done(self): ...\r
+    def result(self, timeout=...): ...\r
+    def exception(self, timeout=...): ...\r
+    def add_done_callback(self, fn): ...\r
+    def set_result(self, result): ...\r
+    def set_exception(self, exception): ...\r
+    def exc_info(self): ...\r
+    def set_exc_info(self, exc_info): ...\r
+    def __del__(self): ...\r
+\r
+TracebackFuture = ...  # type: Any\r
+FUTURES = ...  # type: Any\r
+\r
+def is_future(x): ...\r
+\r
+class DummyExecutor:\r
+    def submit(self, fn, *args, **kwargs): ...\r
+    def shutdown(self, wait=...): ...\r
+\r
+dummy_executor = ...  # type: Any\r
+\r
+def run_on_executor(*args, **kwargs): ...\r
+def return_future(f): ...\r
+def chain_future(a, b): ...\r