RelaySessionSnapshot

data class RelaySessionSnapshot(val state: RelaySessionSnapshot.State, val subscriptions: List<String>, val readySubscriptions: List<String>, val deliveryEventIds: List<NostrEventId>, val deliveryStates: List<DeliveryState>, val pendingIngestionIds: List<NostrEventId>, val reconnectAttempt: UInt)

Redacted state snapshot for diagnostics only.

Constructors

Link copied to clipboard
constructor(state: RelaySessionSnapshot.State, subscriptions: List<String>, readySubscriptions: List<String>, deliveryEventIds: List<NostrEventId>, deliveryStates: List<DeliveryState>, pendingIngestionIds: List<NostrEventId>, reconnectAttempt: UInt)

Types

Link copied to clipboard

Observable relay-session connection state.

Properties

Link copied to clipboard

Events with tracked delivery state.

Link copied to clipboard

States parallel to deliveryEventIds.

Link copied to clipboard

Events awaiting durable host persistence.

Link copied to clipboard

Subscriptions that reached end-of-stored-events.

Link copied to clipboard

Consecutive reconnect attempt number.

Link copied to clipboard

Current connection state.

Link copied to clipboard

Active subscription identifiers.