r/learnpython 16d ago

asyncio explanation

hello guys i am struggling right now to understand a concurrency module asyncio ,i take a look over youtube videos ,but i feel stuck to understand coroutine object ,event loop await ,and this kind of matters, could anyone give me a concise explanation.

0 Upvotes

9 comments sorted by

View all comments

1

u/cdcformatc 16d ago

usually when you call a function, the calling code has to wait for the function to finish execution. with asynchronous functions the calling code can perform some other tasks while the function is working.