refCountStateFlow

open override val refCountStateFlow: StateFlow<STATE>(source)

A version of stateFlow ref-counted for the Syntax.repeatOnSubscription operator. Do not use when subscribing to state updates within your ContainerHost.

A StateFlow of state updates. Emits the latest state upon subscription and serves only distinct values (through equality comparison).