Ash.Resource.Actions.Implementation behaviour (ash v3.5.9)
View SourceAn implementation of a generic action.
Example
defmodule YourModule do
use Ash.Resource.Actions.Implementation
def run(input, opts, context) do
{:ok, "Hello"}
end
end
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()}