DelegationMode
Defines the mode of delegation between stores. This interface determines how and when the delegate store's state is projected to the principal store.
DelegationMode.Immediate - make the state available immediately. This will force the delegated store to receive a permanent subscription from the principal store.
DelegationMode.WhileSubscribed - subscribe to the delegated using pro.respawn.flowmvi.plugins.whileSubscribed plugin and update the projection of the StoreDelegate while the principal store has subscribers.
See also
Inheritors
Types
In this mode, the delegate store's state is directly projected to the principal store and the delegate is subscribed to as soon as the principal store starts.
In this mode, the delegate store's state is only projected to the principal store when the principal store has subscribers.