ChannelEvent

Types

Link copied to clipboard
data class Broadcast(val actorID: String?, val topic: String, val payload: String) : ChannelEvent

Broadcast event received from a remote client on this channel key.

Link copied to clipboard
data class Changed(val sessionCount: Long) : ChannelEvent
Link copied to clipboard
data class Initialized(val sessionCount: Long) : ChannelEvent
Link copied to clipboard
data class SyncError(val cause: Throwable) : ChannelEvent

Published when a RefreshChannel heartbeat fails non-recoverably. Recoverable session expiry (ErrSessionNotFound) is handled internally by a transparent re-attach and does not emit this event.

Properties

Link copied to clipboard
abstract val sessionCount: Long

Current session count value. Zero for non-count events.