io.github.positionpal.location.tracking.projections
Members list
Type members
Classlikes
object UserSessionProjection
A projection that listens to the events emitted by the RealTimeUserTracker actors and updates the user's session state, implementing the CQRS pattern.
A projection that listens to the events emitted by the RealTimeUserTracker actors and updates the user's session state, implementing the CQRS pattern.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
class UserSessionProjectionHandler[T](system: ActorSystem[_], val storage: UserSessionsWriter[IO, T]) extends Handler[EventEnvelope[Event]]
The handler that processes the events emitted by the RealTimeUserTracker actor updating the user's session state with the provided storage.
In this article