Re:V8 adds support for top-level await
by jnbiche on Tuesday September 24, 2019 @11:17PM
(#21067271)
You write this boilerplate to avoid one extra non-cached HTTP call on a (browser?) client? Am I understanding correctly?
[ Parent
| on HN ]
Re:V8 adds support for top-level await
by londons_explore on Wednesday September 25, 2019 @03:37AM
(#21068631)
One extra call could be a multi-megabyte video chunk, or the code flow might mean this case always occurs, potentially hundreds of times before the promise resolves.