Weather in Berlin
open-meteo.com0 °C
- Feels like
- -4 °C
- Humidity
- 86 %
- Wind
- 9.8 km/h
This page queries six public APIs at once and merges their answers into one page. It takes about as long as the slowest service, not the sum of all of them.
Async components are rendered one after another, so if each card fetched its own data, the requests would run in sequence. Instead, all requests are started up front and each card only awaits its own promise: the cards stream in as their data arrives, in the order of the markup.
A shared AbortSignal gives all requests one time budget and cancels them when the browser goes away. Errors and timeouts stay inside their card, so one broken service never takes the page down. Pick a shorter budget to see services time out.
0 °C
1 EUR =
Amazon Ergo: A fast, cost-effective open-weights model
405 last week
138 stars
✕