Coroutine-Sample

Sat 17 May 2025
import asyncio 
import time

async def test():
    print('inside test')

async def foo():
    await test()  # No exception raised.
    print('foo')
foo()
<coroutine object foo at 0x7f54f8e83940>


Score: 0

Category: async

Page 1 of 1