Skip to content

feat: allow blocking until local FFs loaded#7

Merged
mworzala merged 4 commits intohollow-cube:mainfrom
ZakShearman:feat/local-ff-eval-block
Feb 11, 2026
Merged

feat: allow blocking until local FFs loaded#7
mworzala merged 4 commits intohollow-cube:mainfrom
ZakShearman:feat/local-ff-eval-block

Conversation

@ZakShearman
Copy link
Contributor

@ZakShearman ZakShearman commented Feb 8, 2026

Currently, when using local eval (especially exclusively), you can encounter errors if you immediately use the client as local feature flags are loaded async in the background.

This PR adds a loadRemoteFeatureFlags method to the client + a subsequent builder option that retrieves and blocks until it has done so, allowing developers to block until the client is actually ready.

Additionally, a check for the result being null has been added and warns (once) if such. This might be a desired situation for some.

@ZakShearman
Copy link
Contributor Author

Closing because github is stupid and action is eternally pending. thanks github. no outages, never fails. only cap.

@ZakShearman
Copy link
Contributor Author

Holup if i reopen.... will it run maybe....

@ZakShearman ZakShearman reopened this Feb 10, 2026
@mworzala mworzala merged commit 0553a09 into hollow-cube:main Feb 11, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants