Async Support¶
yeetr supports async functions natively. Just make your main an async def and yeet
will run it with asyncio.run or uvloop.run if uvloop
is installed.
If the function is a coroutine, its result is awaited via asyncio.run,
or via uvloop.run when the
optional uvloop extra is installed:
When uvloop is importable, yeetr uses it transparently — no code
change required. Otherwise it falls back to the stdlib event loop.
Next steps¶
Parameter Types covers every type yeetr understands,
from Path to Enum to tuples.