You can cancel many tasks by associating the CancellationTokenSource instance with each task. async def main(): task1=asyncio. Asyncio in Python 3. await mytask ...
確定! 回上一頁