Skip to content

Implement locking timeout #16

Description

@tshemsedinov
await locks.request('A', { timeout: 5000 }, async () => {
  // resource will be released if this function will not end before timeout
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions