Skip to content

Instantly share code, notes, and snippets.

@hokaccha
Created December 18, 2024 03:46
Show Gist options
  • Save hokaccha/59b96b92ac7efa4bb932e9502b5b31ff to your computer and use it in GitHub Desktop.
Save hokaccha/59b96b92ac7efa4bb932e9502b5b31ff to your computer and use it in GitHub Desktop.
const _a = fA();
const _b = fB();
const _c = fC();
const _d = Promise.all([_a, _b]).then(([a, b]) => fD(a, b));
const _e = Promise.all([_b, _c]).then(([b, c]) => fE(b, c));
const [d, e] = await Promise.all([_d, _e]);
const f = await fF(d, e);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment