Skip to content

Commit 60acd0e

Browse files
afscromeasosMikeGore
authored andcommitted
Correct variable name in example (#41)
1 parent 48ce9e5 commit 60acd0e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ The expected stream revision would either be set to 0 for a new stream, or to th
3535
```csharp
3636
var events = await eventStore.ReadStreamForwards(streamId, startPosition: 2, numberOfEventsToRead: 1);
3737
// or
38-
var events = await subject.ReadStreamForwards(streamId);
38+
var events = await eventStore.ReadStreamForwards(streamId);
3939
```
4040
You can either read all events in a stream, or a subset of events. Only read all events if you know the maximum size of a stream is going to be low and that you always need to read all events as part of your workload e.g. replaying events to project current state for a DDD aggregate.
4141

0 commit comments

Comments
 (0)