Package-level declarations

Types

Link copied to clipboard

Identifies one observation in the ordered history of a state source.

Link copied to clipboard
data class StateSnapshot<out T>(val revision: StateRevision, val value: T)

Carries a source observation and its publication revision.

Link copied to clipboard
fun interface StateSource<out T>

An externally owned source of revisioned state snapshots.

Link copied to clipboard
class StateSubscription<out T>(val initialSnapshot: StateSnapshot<T>, closeAction: () -> Unit) : AutoCloseable

The atomic result of subscribing to a StateSource.