appendEvents abstract method
Future<AppendEventsResult>
appendEvents(
- StreamName name,
- Iterable<
StreamEvent> events, - ExpectedStreamVersion expected
Append one or more events to a stream
Parameter name
identifies stream to append
events
to. Use parameter expected
to
indicate which stream version that was
last seen. Is used to perform consistency
checks based on optimistic locking.
Implementation
Future<AppendEventsResult> appendEvents(
StreamName name,
Iterable<StreamEvent> events,
ExpectedStreamVersion expected,
);