An append-only log of the events of one event type E.
Each appended event gets the next sequence number, which also gives the order of the events. The store streams the events it holds from any position, and publishes every new event to a Hub, so that a reader can catch up on the history and then follow the new events. A ProjectionEngine reads each source of a projection from one event store.
The hub that every appended event is published to.
The hub that every appended event is published to.
Despite its name, this does not subscribe. Call subscribe on the returned hub, inside a Scope, to receive the events appended from then on. The events stored before that are read with readFrom.