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

Make Aeternitas::Guard lock state available via API #15

Open
tamaloa opened this issue Sep 21, 2018 · 0 comments
Open

Make Aeternitas::Guard lock state available via API #15

tamaloa opened this issue Sep 21, 2018 · 0 comments

Comments

@tamaloa
Copy link
Member

tamaloa commented Sep 21, 2018

An application may want to explicitly check wether a guard is locked/sleeping etc. (for instance when testing that a rate limit exception causes the resource to be locked accordingly).

Currently guard does not offer this information via public API. There exist private methods (get_timeout, get_payload) which may be used but a dedicated method would be better.

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

No branches or pull requests

1 participant