Polling
You can add a wire:poll
annotation to your elements to poll for changes for a set interval. By default, this interval is set to every 2 seconds.
You can append a different interval time to your annotation as well.
Polling for changes over AJAX is lightweight and is often a good alternative to strategies such as Pusher or WebSockets.
Invoking Method
If you would like to invoke a method during each poll interval, you can do so by specifying a method name.
Last updated