Skip to content

Commit ee80ce2

Browse files
add comments
Signed-off-by: Thomas Poignant <[email protected]>
1 parent 30b5a1f commit ee80ce2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

specification/sections/01-flag-evaluation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,11 @@ This function not only sets the provider, but ensures that the provider is ready
113113

114114
```java
115115
// default client
116-
OpenFeatureAPI.getInstance().setProviderAndWait(myprovider);
117-
Client client = OpenFeatureAPI.getInstance().getClient();
116+
OpenFeatureAPI.getInstance().setProviderAndWait(myprovider); // this method blocks until the provider is ready or in error
117+
Client client = OpenFeatureAPI.getInstance().getClient();
118118

119119
// named client
120-
OpenFeatureAPI.getInstance().setProviderAndWait('client-name', myprovider);
120+
OpenFeatureAPI.getInstance().setProviderAndWait('client-name', myprovider); // this method blocks until the provider is ready or in error
121121
Client client = OpenFeatureAPI.getInstance().getClient('client-name');
122122
```
123123

0 commit comments

Comments
 (0)