RpcNotificationsLocal

Implementation for RpcNotifications that can also serve as RpcNotifier for testing/developing in local environment.

Constructors

Link copied to clipboard
constructor(cipher: SimpleCipher)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open suspend override fun emit(target: String, state: DataItem, notification: DataItem)

Sends a notification to a target.

Link copied to clipboard
open suspend override fun <NotificationT : Any> register(target: String, opaqueState: DataItem, notifications: MutableSharedFlow<NotificationT>, deserializer: (DataItem) -> NotificationT)
Link copied to clipboard
open suspend override fun unregister(target: String, opaqueState: DataItem)