Service

io.github.positionpal.location.application.tracking.RealTimeTracking.Service
trait Service[F[_], G]

The real-time tracking service in charge of handling the ClientDrivingEvent.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def addObserverFor(resource: G)(observer: OutcomeObserver): F[Unit]

Add an observer for the given resource.

Add an observer for the given resource.

Attributes

def handle(resource: G)(event: ClientDrivingEvent): F[Unit]

Handle the event.

Handle the event.

Attributes

def removeObserverFor(resource: G)(observer: OutcomeObserver): F[Unit]

Remove the observer for the given resource.

Remove the observer for the given resource.

Attributes