Closed fatherofinvention closed 7 months ago
There’s not a fancy API for it, but throw a $ajax()
call inside a setTimeout
or setInterval
and you’ve got polling. This example does some polling to update a progress indicator: https://alpine-ajax.js.org/examples/progress-bar/
Cool thanks @imacrayon !
Hello. Alpine-Ajax is awesome, so thank you! I'm wondering if polling is possible, like in HTMX: https://htmx.org/docs/#polling