Skip to content

Commit f834a43

Browse files
committed
Add TODO once EventDetails have been added
Signed-off-by: penguindan <[email protected]>
1 parent 3818a11 commit f834a43

File tree

1 file changed

+1
-2
lines changed
  • kotlin-sdk/src/commonMain/kotlin/dev/openfeature/kotlin/sdk/multiprovider

1 file changed

+1
-2
lines changed

kotlin-sdk/src/commonMain/kotlin/dev/openfeature/kotlin/sdk/multiprovider/MultiProvider.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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
/**

0 commit comments

Comments
 (0)