这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@jamesmunns
Copy link
Collaborator

Implementing the interface that @hawkw so wisely suggested

Copy link
Owner

@hawkw hawkw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great, thank you! I left some feedback, but it's mostly just me being pedantic about docs, plus some style suggestions that you're welcome to take if you like them, or to ignore if you don't.

It might be nice to have tests and/or examples for the new code, but it's simple enough that I'm happy to merge this regardless. We may want to add tests asserting that the futures returned by these functions are Send/Sync when the input closure is Send/Sync, though, so that future internal changes don't introduce an accidental API compatibility breakage.

jamesmunns and others added 3 commits July 7, 2024 20:30
Co-authored-by: Eliza Weisman <eliza@elizas.website>
Co-authored-by: Eliza Weisman <eliza@elizas.website>
Co-authored-by: Eliza Weisman <eliza@elizas.website>
@jamesmunns
Copy link
Collaborator Author

github was being weird about applying suggestions, not sure why it thought they were overlapping. I plan to come back to add docs and address the remaining open topics

@hawkw
Copy link
Owner

hawkw commented Jul 9, 2024

Great, I'll be happy to merge this whenever the docs are ready (and ideally, when we can get a clean CI build on main 😬)

Copy link
Owner

@hawkw hawkw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

docs and tests look good to me --- happy to merge this once CI is green!

@jamesmunns
Copy link
Collaborator Author

@hawkw tests are green (🎉), let me know what you think re: std and subscribe.

@hawkw hawkw merged commit 6dc5a84 into main Jul 11, 2024
@hawkw hawkw deleted the james/waitloops branch July 11, 2024 19:14
@hawkw
Copy link
Owner

hawkw commented Jul 11, 2024

merged, thank you!

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.

3 participants