It can be called by the Application layer before any provider is configured, and it will still receive events once a new provider is configured and emitting events
Thanks to this, we can now recommend setting up the observation before setProvider is called, thus ensuring no event from the configured provider is lost due to raciness between observer and setProvider
This PR
Update the
OpenFeatureAPI.observeEvents()
API:setProvider
is called, thus ensuring no event from the configured provider is lost due to raciness betweenobserver
andsetProvider
Usage example (from Application layer):