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

Add available traits to find out how many client tokens are unused #31

Merged
merged 7 commits into from
Nov 23, 2022

Conversation

NobodyXu
Copy link
Member

@NobodyXu NobodyXu commented Nov 23, 2022

Returns amount of tokens in the read-side pipe (number of jobs that could be started).

Acknowledgement

This PR uses code written by @olofj

Returns amount of tokens in the read-side pipe (number of jobs that could be started).

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Use `.try_into().unwrap` instead of `as` for int conversion.

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
@NobodyXu NobodyXu merged commit 6fb6604 into main Nov 23, 2022
@NobodyXu NobodyXu deleted the add-available branch November 23, 2022 14:45
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

Successfully merging this pull request may close these issues.

2 participants