ash v1.34.7 Ash.Resource.Calculation 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