Builds a AndThenProjection composed of this Projection and the passed Projection.
Builds a AndThenProjection composed of this Projection and the passed Projection.
DomainEvents will be send to both projections. One after the other starting by this followed by the passed Projection.
NOTE: In the occurrence of any failure on any of the underling Projections, this Projection may be replayed, therefore idempotent operations are recommended.
Builds a OrElseProjectioncomposed of this Projection and the passed Projection.
Builds a OrElseProjectioncomposed of this Projection and the passed Projection.
If this Projection is defined for a given incoming DomainEvent, then this Projection will be applied, otherwise we fallback to the passed Projection.