View Source Ash.Notifier behaviour (ash v2.9.11)
A notifier is an extension that receives various events
Link to this section Summary
Functions
Sends any notifications that can be sent, and returns the rest.
Link to this section Callbacks
@callback notify(Ash.Notifier.Notification.t()) :: :ok
Link to this section Functions
@spec notify([Ash.Notifier.Notification.t()] | Ash.Notifier.Notification.t()) :: [ Ash.Notifier.Notification.t() ]
Sends any notifications that can be sent, and returns the rest.
A notification can only be sent if you are not currently in a transaction for the resource in question.