Files
PiThermostat/.vscode/Pico-W-Stub/asyncio/lock.pyi
Ádám Kovács 36638e2dd1 MicroPython stuff
2023-11-07 14:00:27 +01:00

14 lines
401 B
Python

from . import core as core
from _typeshed import Incomplete
from collections.abc import Generator
class Lock:
state: int
waiting: Incomplete
def __init__(self) -> None: ...
def locked(self): ...
def release(self) -> None: ...
def acquire(self) -> Generator[None, None, Incomplete]: ...
async def __aenter__(self): ...
async def __aexit__(self, exc_type, exc, tb): ...