File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -355,8 +355,9 @@ export default class EppoClient {
355
355
? inflateResponse ( configuration . bandits . response )
356
356
: undefined ;
357
357
358
- // We need to run this method sync, but, because the configuration stores potentially have an async write at the end
359
- // of updating the configuration, the method to do so it also async. Use an IIFE to wrap the async call.
358
+ // This method runs async because the configuration stores potentially have an async write at the end of updating
359
+ // the configuration. Most instances of offlineInit will use `MemoryOnlyConfigurationStore` instances which actually
360
+ // accomplish the config write synchronously.
360
361
await this . configurationManager . hydrateConfigurationStoresFromUfc (
361
362
flagConfigResponse ,
362
363
banditParamResponse ,
You can’t perform that action at this time.
0 commit comments