simple_lock

class mautrix.util.simple_lock.SimpleLock

Bases: object

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

None

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

task (Optional[str]) –

Return type

None