UserSessionsReader

io.github.positionpal.location.application.sessions.UserSessionsReader
trait UserSessionsReader[F[_]]

The reading model projection for Sessions. It encapsulates the read-side operations for querying and retrieving Sessions from the underlying store.

Type parameters

F

the effect type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait UserSessionsStore[F, T]

Members list

Value members

Abstract methods

def sessionOf(scope: Scope): F[Option[Session]]

Attributes

Returns

the current Session of the given userId if it exists.