apparently this discovered some bugs

This commit is contained in:
Khaleel Al-Adhami 2025-01-31 19:30:14 -08:00
parent 1f5c2b67b6
commit 98dcd3dc7e

View File

@ -22,6 +22,10 @@ def BackgroundTask():
_task_id: int = 0
iterations: int = 10
@rx.event
def set_iterations(self, value: str):
self.iterations = int(value)
@rx.event(background=True)
async def handle_event(self):
async with self: