Skip to content

Implement Condition#waiting_count#456

Open
rmosolgo wants to merge 2 commits into
socketry:mainfrom
rmosolgo:condition-num-waiting
Open

Implement Condition#waiting_count#456
rmosolgo wants to merge 2 commits into
socketry:mainfrom
rmosolgo:condition-num-waiting

Conversation

@rmosolgo

@rmosolgo rmosolgo commented Jun 22, 2026

Copy link
Copy Markdown

This adds Condition#waiting_count so you can tell how many tasks are waiting for a certain condition, as discussed in #455

Please let me know if I can improve this PR in any way!

Types of Changes

  • New feature.

Contribution

Comment thread lib/async/condition.rb Outdated
@rmosolgo

Copy link
Copy Markdown
Author

Thanks for taking a look and making that docs correction, @ioquatix. I see some test failures, but I don't think they're related to my changes here. Is there anything else I should do on this one?

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