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

Members list

Type members

Classlikes

object ArrivalCheck

A TrackingEventReaction checking if the position curried by the event is near the arrival position.

A TrackingEventReaction checking if the position curried by the event is near the arrival position.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

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.

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

Supertypes
class Object
trait Matchable
class Any
Self type

A TrackingEventReaction performing a preliminary check on the event, possibly emitting a notification if it is a noteworthy event.

A TrackingEventReaction performing a preliminary check on the event, possibly emitting a notification if it is a noteworthy event.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

A TrackingEventReaction checking whether the position curried by the event has remained approximately in the same location for some time, possibly indicating a suspicious situation. In this case, it triggers a notification, returning as an Outcome a StuckAlertTriggered. Once the user moves again, it stops the alert, returning a StuckAlertStopped.

A TrackingEventReaction checking whether the position curried by the event has remained approximately in the same location for some time, possibly indicating a suspicious situation. In this case, it triggers a notification, returning as an Outcome a StuckAlertTriggered. Once the user moves again, it stops the alert, returning a StuckAlertStopped.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

A binary short circuit reaction to ClientDrivingEvents producing as an Outcome a Notification (either a Notification.Alert or a Notification.Success).

A binary short circuit reaction to ClientDrivingEvents producing as an Outcome a Notification (either a Notification.Alert or a Notification.Success).

Attributes

Supertypes
class Object
trait Matchable
class Any
Show all
Self type

Value members

Concrete methods

def sendNotification[F[_] : Async](scope: Scope, msg: NotificationMessage)(using evidence$1: Async[F], notifier: NotificationService[F], groups: UserGroupsService[F]): F[Unit]