Global listeners for form events create/edit/deleted?

Is there a way of listening for all changes in Filament?
E.g to save doing this on every action
Tables\Actions\EditAction::make()
    ->after(function ($livewire, $record) {
        if ($record->wasChanged()) {
            $livewire->emit('dataChanged');
        }
    }),
Was this page helpful?