3 ms·
This looks really interesting for a simple way to build a rudimentary but full-featured webapp, for example for the intranet. But I wonder how this can be used
by qwertox 4y ago
This looks really interesting for a simple way to build a rudimentary but full-featured webapp, for example for the intranet.
But I wonder how this can be used with `asyncio`, since the handlers are pure `def` and not `async def`.
Searching the docs for `async` does return any results.
- picklelo 4y agoI'll look why the search doesn't bring it up - see our event chain example here for how we do async event handlers: https://pynecone.io/docs/state/events https://pynecone.io/docs/state/events
- qwertox 4y agoGreat! Thank you. Maybe also showcase an example on the landing page, like making only the `def decrement(self)` an async function.