NotificationServiceProxy

io.github.positionpal.location.application.notifications.NotificationServiceProxy

A base implementation for a proxy notification service that delegates the actual logic to an external component.

Type parameters

F

the effect type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def send(command: PushNotificationCommand): F[Unit]

Send the given command to the external notification service, which will handle the actual sending.

Send the given command to the external notification service, which will handle the actual sending.

Attributes

Concrete methods

override def sendToAllMembersSharingGroupWith(user: UserId, sender: UserId, message: NotificationMessage): F[Unit]

Send the given message to all users sharing a group with the given user on behalf of the sender user.

Send the given message to all users sharing a group with the given user on behalf of the sender user.

Attributes

Definition Classes
override def sendToGroup(recipient: GroupId, sender: UserId, message: NotificationMessage): F[Unit]

Send the given message to all members of the given recipient group on behalf of the sender user.

Send the given message to all members of the given recipient group on behalf of the sender user.

Attributes

Definition Classes

Inherited methods

def sendToOwnGroup(scope: Scope, message: NotificationMessage): F[Unit]

Send the given message to all members of the group of the given scope on behalf of the scope user.

Send the given message to all members of the group of the given scope on behalf of the scope user.

Attributes

Inherited from:
NotificationService