UserSessionsService

io.github.positionpal.location.application.sessions.UserSessionsService
See theUserSessionsService companion object
trait UserSessionsService[F[_]]

A service to query and retrieve the tracking session information of users.

Type parameters

F

the effect type

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def ofGroup(groupId: GroupId): Stream[F, Session]

Attributes

Returns

the current Sessions of all members of the given groupId.

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

Attributes

Returns

the current Session of the given scope.user in the given scope.group, if it exists.