Skip to content

r.projection(...)

r.projection(definition) — registers a read-side projection driven by events of one or more source entities. Apply functions run inside the event-store’s transaction, so the projection stays consistent with the events that feed it. Apply bodies are opaque code spans keyed by event type.


From packages/feature-ast/src/patterns.ts -> ProjectionPattern