massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / third_party / 2 / tornado / process.pyi
diff --git a/.config/coc/extensions/coc-python-data/languageServer.0.5.59/Typeshed/third_party/2/tornado/process.pyi b/.config/coc/extensions/coc-python-data/languageServer.0.5.59/Typeshed/third_party/2/tornado/process.pyi
new file mode 100644 (file)
index 0000000..0eb7c5c
--- /dev/null
@@ -0,0 +1,24 @@
+from typing import Any, Optional\r
+\r
+long = int\r
+CalledProcessError: Any\r
+\r
+def cpu_count() -> int: ...\r
+def fork_processes(num_processes, max_restarts: int = ...) -> Optional[int]: ...\r
+def task_id() -> int: ...\r
+\r
+class Subprocess:\r
+    STREAM: Any = ...\r
+    io_loop: Any = ...\r
+    stdin: Any = ...\r
+    stdout: Any = ...\r
+    stderr: Any = ...\r
+    proc: Any = ...\r
+    returncode: Any = ...\r
+    def __init__(self, *args, **kwargs) -> None: ...\r
+    def set_exit_callback(self, callback): ...\r
+    def wait_for_exit(self, raise_error: bool = ...): ...\r
+    @classmethod\r
+    def initialize(cls, io_loop: Optional[Any] = ...): ...\r
+    @classmethod\r
+    def uninitialize(cls): ...\r