lo
lo copied to clipboard
Add MapAsync
Add MapAsync to Support Async Map; like Promise.all
I think it overlaps with lop.Map
.
https://github.com/samber/lo/blob/master/parallel/slice.go
I'm not sure returning an error in Map
is a good idea anyway. IMO, using an Optional/Maybe data structure is better.
WDYT ?