simple_lock

class mautrix.util.simple_lock.SimpleLock

Bases: object

__init__(message=None, log=None)
Parameters
Return type

None

log: logging.Logger | None
message: str | None
property locked: bool
async wait(task=None)
Parameters

task (Optional[str]) –

Return type

None