Skip to content

Running in the background #237

Answered by miguelgrinberg
amadensor asked this question in Q&A
Discussion options

You must be logged in to vote

This is fine, but given that you do not have anything to do in the main asyncio task I would suggest you run one of the two in a background task and the other in the main one.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@miguelgrinberg
Comment options

Answer selected by amadensor
@amadensor
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants