You can do it by adding function between to execute async: async def some_callback(args): await some_function() def between_callback(args): ... ... <看更多>
Python Asyncio Part 5 – Mixing Synchronous and Asynchronous Code ... Each event loop runs on a single thread, and multiplexes the thread's runtime amongst ... ... <看更多>