reminder that Promise.all() turns an Array<Promise<T>> into a Promise<Array<T>>
-
-
and it gives good intuition for `traverse`, which is pervasive
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
-
Tangentially, I remember how badly I screwed up control flow the first time I used async / await without also using `await Promise.all()` in some key sections. I think midtook the point of async / await syntax as “totally avoid `Promise`”, which was fundamentally incorrect.
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.