# `AshCache.CachedCalculation`
[🔗](https://github.com/Undeadlol1/ash_cache/blob/v0.1.0/lib/ash_cache/cached_calculation.ex#L1)

One cached module calculation and its own settings: how long its entries
live and what is passed to the store adapter. `nil` and `[]` results are
real answers, so they are always cached.

# `t`

```elixir
@type t() :: %AshCache.CachedCalculation{
  __spark_metadata__: Spark.Dsl.Entity.spark_meta(),
  name: atom(),
  store_options: keyword(),
  ttl: pos_integer() | :infinity | nil
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
