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

Wenzhe/test non blocking async post #179

Merged
merged 7 commits into from
Jun 7, 2024

Conversation

wenzhe-log10
Copy link
Contributor

@wenzhe-log10 wenzhe-log10 commented Jun 6, 2024

Contains commits in #177
Also includes update:

  • use finalize for async tests and examples
  • update README with async

Plan to merge this PR and release 0.9.0.

@wenzhe-log10 wenzhe-log10 requested review from kxtran and nqn June 7, 2024 05:12
Copy link
Collaborator

@kxtran kxtran left a comment

Choose a reason for hiding this comment

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

great work! 🏃🏼 🔥

Comment on lines +526 to +529
async def finalize():
pending = asyncio.all_tasks()
pending.remove(asyncio.current_task())
await asyncio.gather(*pending)
Copy link
Collaborator

Choose a reason for hiding this comment

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

would you mind to create an issue to follow up only gathering our own tasks (not all)?

@wenzhe-log10 wenzhe-log10 merged commit 70c939f into main Jun 7, 2024
2 checks passed
@wenzhe-log10 wenzhe-log10 deleted the wenzhe/test_non_blocking_async_post branch June 7, 2024 16: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