sync_get_data = async_to_sync(get_data) @async_to_sync async def get_other_data(...): ... 异步函数在当前线程的事件循环中运行(如果存在)。如果 ...
確定! 回上一頁