mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-24 19:12:33 +00:00
16 lines
207 B
Python
16 lines
207 B
Python
import trio
|
|
|
|
|
|
async def func():
|
|
while True:
|
|
await trio.sleep(10)
|
|
|
|
|
|
async def func():
|
|
while True:
|
|
await trio.sleep_until(10)
|
|
|
|
|
|
async def func():
|
|
while True:
|
|
trio.sleep(10)
|