Skip to content

Commit 3b31746

Browse files
committed
Actually deprecate
Signed-off-by: penguindan <[email protected]>
1 parent e25d572 commit 3b31746

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

kotlin-sdk/src/commonMain/kotlin/dev/openfeature/kotlin/sdk/OpenFeatureAPI.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ object OpenFeatureAPI {
4545
* Deprecated because calls to this should move to OpenFeatureClient according to
4646
* https://openfeature.dev/specification/sections/flag-evaluation#17-provider-lifecycle-management
4747
*/
48+
@Deprecated("Please use OpenFeatureClient.providerStatusFlow instead")
4849
val statusFlow: Flow<OpenFeatureStatus> get() = _statusFlow.distinctUntilChanged()
4950

5051
var hooks: List<Hook<*>> = listOf()

0 commit comments

Comments
 (0)