UserSessionProjection

io.github.positionpal.location.tracking.projections.UserSessionProjection

A projection that listens to the events emitted by the RealTimeUserTracker actors and updates the user's session state, implementing the CQRS pattern.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def init[T](system: ActorSystem[_], storage: UserSessionsWriter[IO, T]): Unit

Initializes the projection for the sharded event sourced RealTimeUserTracker actor deployed on the given system using as storage the provided UserSessionsWriter.

Initializes the projection for the sharded event sourced RealTimeUserTracker actor deployed on the given system using as storage the provided UserSessionsWriter.

Attributes