3 ms·
IIUC if `myfunc` is an async function, calling it will immediately return a coroutine object. None of the function’s code will run until it is `await`ed. (Unli
by pansa2 6y ago
IIUC if `myfunc` is an async function, calling it will immediately return a coroutine object.
None of the function’s code will run until it is `await`ed. (Unlike some other languages, async-await in Python is not “synchronous to the first await”.)