RoutingMode

zio.blocks.projection.RoutingMode
See theRoutingMode companion object
sealed trait RoutingMode

Decides which row or shard of a projection an incoming event is applied to.

A routing mode belongs to a SourceBinding and is chosen on FromBuilder with routeToSelf, routeToAll or routedBy. The mode produces a ''routing key'' for each event (see Projection.routingKey), and it also determines the projection's ProjectionScope.

Attributes

Companion
object
Source
Projection.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object RouteToAll
object RouteToSelf
class RoutedBy[E]
In this article