NotificationPublisher

A notification publisher service which is responsible for publishing notifications to the final users.

Inheritors

Functions

Link copied to clipboard
abstract infix suspend 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.

abstract suspend fun send(message: NotificationMessage, userIds: Set<UserId>)

Sends the given message to the specified userIds.