Closed adams85 closed 4 months ago
Kudos, SonarCloud Quality Gate passed!
The SonarCloud Quality Gate passed, but some issues were introduced.
10 New issues
0 Security Hotspots
85.4% Coverage on New Code
0.2% Duplication on New Code
Issues
23 New issues
0 Accepted issues
Measures
0 Security Hotspots
86.8% Coverage on New Code
0.2% Duplication on New Code
Describe the purpose of your pull request
Adds an API which makes it possible to synchronously evaluate feature flags/settings without block waiting for potential underlying I/O operations: consumers can create a snapshot of the client by
IConfigCatClient.Snapshot()
, which captures the client's state (including the latest config fetched) at that point, then, using the returned object, they can execute non-blocking synchronous evaluation operations.Also
CacheState
to the event args of theClientReady
hook, by means of which consumers can get information about the initialization state of the client,IConfigCatClient
.Requirement checklist (only if applicable)