GrpcUserSessionsService

io.github.positionpal.location.grpc.GrpcUserSessionsService
class GrpcUserSessionsService[F[_]](usersSessionService: UserSessionsService[F])(using evidence$1: Async[F]) extends UserSessionsServiceFs2Grpc[F, Metadata]

A gRPC service adapter for the UserSessionsService to expose the session information of users.

Type parameters

F

the effect type

Value parameters

usersSessionService

the service to which delegate the session queries logic

Attributes

Graph
Supertypes
trait UserSessionsServiceFs2Grpc[F, Metadata]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def getCurrentLocation(request: Scope, ctx: Metadata): F[LocationResponse]

Attributes

Definition Classes
override def getCurrentSession(request: GroupId, ctx: Metadata): Stream[F, SessionResponse]

Attributes

Definition Classes
override def getCurrentState(request: Scope, ctx: Metadata): F[UserStateResponse]

Attributes

Definition Classes
override def getCurrentTracking(request: Scope, ctx: Metadata): F[TrackingResponse]

Attributes

Definition Classes