realtime library

Classes

BufferedMessage
An immutable snapshot of a buffered outgoing message.
MessageBuffer
Buffers outgoing messages when a RealtimeChannel is disconnected.
PkWebSocketChannel
WebSocket-based implementation of RealtimeChannel.
PresenceRecord
An immutable snapshot of a user's presence state.
PresenceService
Tracks which users are currently online in a realtime channel.
RealtimeChannel
Abstract interface every realtime backend must implement.
RealtimeManager
Central coordinator that owns all active RealtimeChannel instances.
RealtimeMessage
An immutable message received on a RealtimeChannel.

Enums

ChannelStatus
The lifecycle states a RealtimeChannel can be in.

Typedefs

RealtimeChannelFactory = RealtimeChannel Function(String channelId)
Factory function that creates a RealtimeChannel for the given channelId.