File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
kotlin-sdk/src/commonMain/kotlin/dev/openfeature/kotlin/sdk/multiprovider Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -79,8 +79,6 @@ class MultiProvider(
7979 private val _statusFlow = MutableStateFlow <OpenFeatureStatus >(OpenFeatureStatus .NotReady )
8080 val statusFlow = _statusFlow .asStateFlow()
8181
82- // Shared flow because we don't want the distinct operator since it would break consecutive emits of
83- // ProviderConfigurationChanged
8482 private val eventFlow = MutableSharedFlow <OpenFeatureProviderEvents >(replay = 1 , extraBufferCapacity = 5 )
8583
8684 // Track individual provider statuses, initial state of all providers is NotReady
@@ -118,6 +116,7 @@ class MultiProvider(
118116 */
119117 fun getProviderCount (): Int = childFeatureProviders.size
120118
119+ // TODO Add distinctUntilChanged operator once EventDetails have been added
121120 override fun observe (): Flow <OpenFeatureProviderEvents > = eventFlow.asSharedFlow()
122121
123122 /* *
You can’t perform that action at this time.
0 commit comments