Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add tryacquire function #7

Merged
merged 1 commit into from
Feb 24, 2025
Merged

feat: add tryacquire function #7

merged 1 commit into from
Feb 24, 2025

Conversation

tlkamp
Copy link
Owner

@tlkamp tlkamp commented Feb 24, 2025

Adds a TryAcquire function, which will attempt to acquire a lock if slots are available. A boolean indicating wether a slot was acquired is returned.

closes #6

Adds a TryAcquire function, which will attempt to acquire a lock if slots are available. A boolean
indicating wether a slot was acquired is returned.

closes #6
@tlkamp tlkamp merged commit ffc2564 into main Feb 24, 2025
4 checks passed
@tlkamp tlkamp deleted the feat/tryacquire branch February 24, 2025 02:17
Copy link

🎉 This PR is included in version 1.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add TryAcquire()
1 participant