diff --git a/src/async_examples/main.py b/src/async_examples/main.py index cc290dc..08dc122 100644 --- a/src/async_examples/main.py +++ b/src/async_examples/main.py @@ -1,6 +1,7 @@ -from asyncio import sleep +from asyncio import get_running_loop, sleep + async def hello_world(): print("Hello") - await sleep(0.002) - return "World" \ No newline at end of file + await sleep(0) + return "World"