StreamMessage represents different kind of messages that you get when reading from a stream.
There are four variants:
- StreamMessage.Event A regular StreamEvent.
- StreamMessage.FirstStreamPosition The first position of a stream.
- StreamMessage.LastStreamPosition The last position of a stream.
- StreamMessage.NotFound Representing a stream that was not found.
- Companion:
- object
- Source:
- streams.scala
class Object
trait Matchable
class Any
Value members
Concrete methods
def fold[A](eFn: Event => A, fpFn: FirstStreamPosition => A, lpFn: LastStreamPosition => A, nfFn: NotFound => A): A
Implicitly added by StreamMessageOps
- Source:
- streams.scala