ash v1.24.1 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()
}

Link to this section Functions