Creates a DomainEventStream that streams the contents of a list.
- Allard Buijze
Initialize the event stream using the given List of DomainEvent and aggregate identifier.
Initialize the event stream using the given
s and aggregate
identifier. The aggregate identifier is initialized by reading it from the first event available. Therefore, you
must provide at least one event.
Append the contents of this stream to the given
. This includes all events that have
already been read from the stream.
collection the collection to append the events to.
Creates an empty stream. For performance reasons, this method always returns the same instance.
- en empty DomainEventStream