# Correct Stateful Processing

> The ability to process a stream statefully with correct results by handling events in their proper order.

Record: `lexicon:correct-stateful-processing`
Kind: capability
Layer: [Causality Core](https://banes-lab.com/records/layer/causality-core.md)
Canonical: https://banes-lab.com/ontology/lexicon#lexicon-correct-stateful-processing

Listed in [Lexicon terms](https://banes-lab.com/api/records/lexicon.md), after [Race Detection](https://banes-lab.com/records/lexicon/race-detection.md) and before [Ordering Key or Sequence](https://banes-lab.com/records/lexicon/ordering-key-or-sequence.md).

## Category

- [Causality / Ordering / Distributed Time](https://banes-lab.com/records/lexicon-category/causality-ordering-distributed-time.md)

## Enabled by

- [Event Ordering](https://banes-lab.com/records/architecture/event-ordering.md)

## Linked from

- [Causality / Ordering / Distributed Time](https://banes-lab.com/ontology/principles/architecture-category-causality-ordering-distributed-time.md)
