WhileSubscribed

data class WhileSubscribed(val minSubs: Int = 1) : DelegationMode

In this mode, the delegate store's state is only projected to the principal store when the principal store has subscribers.

Constructors

Link copied to clipboard
constructor(minSubs: Int = 1)

Properties

Link copied to clipboard
val minSubs: Int = 1

The minimum number of subscribers required for the delegation to be active.