5 ms·
If you want a little more interactivity you could use SSE[0] to push results as they come back. [0] https://developer.mozilla.org/en-US/docs/Web/API/Server-sen
by robertlagrant 2y ago
If you want a little more interactivity you could use SSE[0] to push results as they come back.
[0] https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events https://developer.mozilla.org/en-US/docs/Web/API/Server-sent... - I don't think Bottle supports this though; you might have to move to a different WSGI server.
- lormayna 2y agoBottle can support it via HTMX: https://htmx.org/extensions/sse/ https://htmx.org/extensions/sse/
- robertlagrant 2y agoFair enough, yes if you hand-crank it in bottle (and no reason why not).