massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / third_party / 2 / tornado / locks.pyi
1 from typing import Any\r
2 \r
3 class _TimeoutGarbageCollector:\r
4     def __init__(self): ...\r
5 \r
6 class Condition(_TimeoutGarbageCollector):\r
7     io_loop = ...  # type: Any\r
8     def __init__(self): ...\r
9     def wait(self, timeout=None): ...\r
10     def notify(self, n=1): ...\r
11     def notify_all(self): ...\r
12 \r
13 class Event:\r
14     def __init__(self): ...\r
15     def is_set(self): ...\r
16     def set(self): ...\r
17     def clear(self): ...\r
18     def wait(self, timeout=None): ...\r
19 \r
20 class _ReleasingContextManager:\r
21     def __init__(self, obj): ...\r
22     def __enter__(self): ...\r
23     def __exit__(self, exc_type, exc_val, exc_tb): ...\r
24 \r
25 class Semaphore(_TimeoutGarbageCollector):\r
26     def __init__(self, value=1): ...\r
27     def release(self): ...\r
28     def acquire(self, timeout=None): ...\r
29     def __enter__(self): ...\r
30     __exit__ = ...  # type: Any\r
31     def __aenter__(self): ...\r
32     def __aexit__(self, typ, value, tb): ...\r
33 \r
34 class BoundedSemaphore(Semaphore):\r
35     def __init__(self, value=1): ...\r
36     def release(self): ...\r
37 \r
38 class Lock:\r
39     def __init__(self): ...\r
40     def acquire(self, timeout=None): ...\r
41     def release(self): ...\r
42     def __enter__(self): ...\r
43     __exit__ = ...  # type: Any\r
44     def __aenter__(self): ...\r
45     def __aexit__(self, typ, value, tb): ...\r