View Source Ash.Resource.ManualDestroy behaviour (ash v2.15.0)
A module to implement manual destroy actions.
Summary
Types
Callbacks
@callback destroy( changeset :: Ash.Changeset.t(), opts :: Keyword.t(), context :: context() ) :: {:ok, Ash.Resource.record()} | {:ok, Ash.Resource.record(), [Ash.Notifier.Notification.t()]} | {:error, term()}