|
|
|
|
|
by saurik
668 days ago
|
|
I mean, you didn't even try :/. const myAsyncThing = async (init) => await task2(await task1(init))
This makes the promise chain look much more like what it is, given that the rest of the language uses nesting calls to indicate "after". |
|