# `Decree.Aggregates.DefaultLifespan`
[🔗](https://github.com/sparkle-space/decree/blob/v0.1.0/lib/decree/aggregates/default_lifespan.ex#L1)

The default implementation of the `Decree.Aggregates.AggregateLifespan`
behaviour.

It will ensure that an aggregate instance process runs indefinitely once
started, unless an exception is encountered.

# `after_command`

Aggregate will run indefinitely once started.

# `after_error`

Aggregate is stopped on exception, but will run indefinitely for any non-
exception error.

# `after_event`

Aggregate will run indefinitely once started.

---

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