ArrivalTimeoutCheck

io.github.positionpal.location.application.tracking.reactions.ArrivalTimeoutCheck

A TrackingEventReaction that verifies if the expected arrival time for a MonitorableTracking has expired, possibly indicating a suspicious situation. In this case, it triggers a notification, returning as an Outcome a TimeoutAlertTriggered. Its behavior is optimized to not send multiple notifications if the same alert was already triggered.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply[F[_] : Async](using evidence$1: Async[F], NotificationService[F], UserGroupsService[F]): EventReaction[F]