ash v1.24.1 Ash.Notifier behaviour View Source

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 Functions

Link to this function

notify(resource_notifications)

View Source

Specs

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.

Link to this section Callbacks

Specs

notify(Ash.notification()) :: :ok