Ash.Resource.Calculation (ash v1.37.2) View Source

Represents a named calculation on a resource

Link to this section Summary

Link to this section Types

Specs

t() :: %Ash.Resource.Calculation{
  arguments: [any()],
  calculation: {:ok, {atom(), any()}} | {:error, String.t()},
  description: String.t() | nil,
  name: atom(),
  private?: boolean(),
  type: term()
}

Link to this section Functions