Skip to content

Feature request: support asyncio #2

Open
@sjoerd222888

Description

@sjoerd222888

Would be nice to have support for asyncio so that we can do something like:

async with ILock("myLock") as myLock:
    #code here gets executed once the lock is acquired

Would be nice if we are not blocking while waiting to receive the lock. Though I know it could be potentially challenging to implement this non-block.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions