View Source Ash.Resource.Actions.Implementation behaviour (ash v3.4.43)

An implementation of a generic action.

Summary

Callbacks

@callback run(
  Ash.ActionInput.t(),
  opts :: Keyword.t(),
  Ash.Resource.Actions.Implementation.Context.t()
) ::
  :ok
  | {:ok, term()}
  | {:ok, [Ash.Notifier.Notification.t()]}
  | {:error, term()}