- Notifications
You must be signed in to change notification settings - Fork5.9k
Passname toasyncio.create_task#3759
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
@harshil21 IISC the point is that the call to application.create_task ensures that the job will be awaited on shutdown... |
by using Event based test than a timed one
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Thanks for the PR! :) Left a few suggestions below. Sorry for the brief wording, I'm not at a keyboard...
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
…#3764,#3762,#3759)Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>Co-authored-by: Luca Bellanti <luca.bellanti@gmail.com>Co-authored-by: thefunkycat <104379699+thefunkycat@users.noreply.github.com>Co-authored-by: Aditya Yadav <69784758+clot27@users.noreply.github.com>Co-authored-by: Dmitry Kolomatskiy <58207913+lemontree210@users.noreply.github.com>
…#3764,#3762,#3759)Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>Co-authored-by: Luca Bellanti <luca.bellanti@gmail.com>Co-authored-by: thefunkycat <104379699+thefunkycat@users.noreply.github.com>Co-authored-by: Aditya Yadav <69784758+clot27@users.noreply.github.com>Co-authored-by: Dmitry Kolomatskiy <58207913+lemontree210@users.noreply.github.com>
Closes#3733
I couldn't test the
nameinJob._runsince that task is instantly awaited (why?)