Skip to content

Commit e71d448

Browse files
committed
Update multi provider readme
Signed-off-by: penguindan <[email protected]>
1 parent 2cc75c5 commit e71d448

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/multiprovider/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,8 @@ val multi = MultiProvider(
2626
strategy = FirstMatchStrategy() // default; FirstSuccessfulStrategy() also available
2727
)
2828

29-
// 3) Set the SDK provider and wait until ready (or observe status)
30-
OpenFeatureAPI.setProvider(multi)
31-
// Optionally await readiness via OpenFeatureAPI.statusFlow.
29+
// 3) Set the SDK provider and wait until ready
30+
OpenFeatureAPI.setProviderAndWait()
3231

3332
// 4) Use the client as usual
3433
val client = OpenFeatureAPI.getClient("my-app")

0 commit comments

Comments
 (0)