Replies: 1 comment 3 replies
-
It's not relevant to aiogram at all. Please, use asyncio docs to learn how to use task properly, or ask stackoverflow for that case. Hints: |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Context
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
Expected Behavior
I expected getting a data from the mysql base used aiomysql
im async way for aiogram bot:
Current Behavior
raise RuntimeError('This event loop is already running')
RuntimeError: This event loop is already running
Because function enter_name() finished before complete event loop even though sleep()
Any suggestion when I wrong
Beta Was this translation helpful? Give feedback.
All reactions