3 ms·
I have a hard time understanding how adding alias indirection disambiguates anything much less spares one from learning something. How does one get to the poin
by always_good 9y ago
I have a hard time understanding how adding alias indirection disambiguates anything much less spares one from learning something.
How does one get to the point where they want to await multiple promises, yet they need to be insulated from the very presence of the `Promise` object?
- ujal 9y agoWell at least in my mental model a Promise is an object that eventually resolves to something within its .then() method. In contrast my mental model of await is that of a blocking call. One can internalize the latter without the former.