Flow Diagrams
How data moves through Ironflow — from event emission to execution, cancellation, and real-time notifications.
| Diagram | Description |
|---|---|
| NATS Streams | 5 JetStream streams, KV buckets, DB vs NATS ownership |
| Emit Flow | Async trigger: emit → match → dispatch (push/pull) |
| EmitSync Flow | Synchronous trigger: fire event, wait for result |
| Event Ingest Flow | External NATS → EventRouter → dispatch pipeline |
| PubSub Flow | Real-time notifications via PUBSUB stream |
| Entity Stream Flow | Event sourcing: append-only events, optimistic concurrency |
| Cancel Flow | Run cancellation via DB + NATS CANCEL stream |