Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

onlined
Copy link

@onlined onlined commented Oct 6, 2025

Summary

The change removes the while loop and polling, it does this by awaiting one task after another, just like the original author intended.

Motivation

The change makes it easier to read the snippet, removes the cognitive load an extra loop, makes the flow more linear, and removes a sleep call with an arbitrary duration.

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.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.