BasicNotificationPublisher
abstract class BasicNotificationPublisher(groupsRepository: GroupsRepository) : NotificationPublisher
A basic implementation of NotificationPublisher encapsulating the strategy logic to send notifications.
Functions
Link copied to clipboard
open infix suspend override fun send(notificationMessage: NotificationMessage): PublishingTargetStrategy
DSL entry point to send the given notificationMessage to users. The client is expected to chain this with one of the PublishingTargetStrategy's method to specify who will receive the notification.