Skip to content

docs(mapValuesLimit): add async configuration loading example - #2121

Open
tedy69 wants to merge 1 commit into
caolan:masterfrom
tedy69:docs/map-values-limit-example
Open

tedy69 wants to merge 1 commit into
caolan:masterfrom
tedy69:docs/map-values-limit-example

Conversation

@tedy69

@tedy69 tedy69 commented Oct 22, 2026

Copy link
Copy Markdown

Adds an async/await example for loading JSON configs with a concurrency limit while keeping their environment keys. It also shows how to catch file and JSON errors.

The docs build and all 703 tests pass. Ran the example with valid files, a missing file, and invalid JSON, and checked that no more than two reads run at once.

Related to #1609.

This branch has not been deployed

No deployments
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.

1 participant