FilamentF
Filament11mo ago
pratik

Notifications backgroung throttling

How to keep polling the database notifications even when the tab is in background ?
Livewire's prescribed way of doing this is given in the docs below but I couldn't find where to make changes in filamentphp to keep the polling alive in filamentPhp.
https://livewire.laravel.com/docs/wire-poll#background-throttling
Laravel
A full-stack framework for Laravel that takes the pain out of building dynamic UIs.
Solution
I did a little more digging and did this to get it working :
->databaseNotificationsPolling('keep-alive')
Was this page helpful?