Adds setProviderAndWait extension function, exposed by this library as a user-facing API (documentation also updated).
The application can now use async/await to wait for the Provider to be ready, before reading flags. The older alternative (still available) is for the application to call setProvider and listen for .ready event manually.
Adds
setProviderAndWait
extension function, exposed by this library as a user-facing API (documentation also updated).The application can now use
async/await
to wait for the Provider to be ready, before reading flags. The older alternative (still available) is for the application to callsetProvider
and listen for.ready
event manually.