Actually, TypeScript's `Promise.all` can handle different types too.
const [a, b] = await Promise.all([fetchA(), fetchB()]); // => a: A, b: B
Re:.NET 10
by greener_grass on Wednesday November 12, 2025 @08:12AM
(#45899723)
I am talking about C# / F# context where the lists must have homogeneous types.
That TypeScript supports this is yet more complexity introduced to usages of an API not designed around types.
See https://learn.microsoft.com/en-us/dotnet/fsharp/whats-new/fs...