spebbe / dartz

Functional programming in Dart
MIT License
749 stars 60 forks source link

Make Task.both fail fast. #98

Closed cranst0n closed 2 years ago

cranst0n commented 2 years ago

This is subjective, but I think this should have been the behavior from when I originally wrote this function.

When a either task fails, the other is silently dropped, which probably isn't ideal either but seem to be somewhat limited by Future.wait.