Usage

To use Async App in a project:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
import asyncio

from async_app.app import AsyncApp


app = AsyncApp()

app.add_task_description({"kind": "continuous", "function": lambda: print("Hello"),})

asyncio.run(app.run())