Today I learned a neat #Dart trick for running multiple async operations in parallel.
I used to rely on ๐๐๐๐๐ฟ๐ฒ.๐๐ฎ๐ถ๐(), but that meant:
โข Casting results manually (๐ข๐ด ๐๐บ๐ฑ๐ฆ๐, ๐ข๐ด ๐๐บ๐ฑ๐ฆ๐ โฆ ๐ฉ)
โข The logic depended on the order of operations (easy to break, especially with LLMs ๐
).
about 2 months ago