For instance, Folly supports the non-blocking combinator collectN which can be found here https://github.com/facebook/folly/blob/master/folly/futures/helpers.h
It does not provide a non-blocking combinator collectNWithoutException which would only collect successful futures similiar to collectAny but for more than one resulting future.
Scala seems to provide only firstCompletedOf which would be collectN with n == 1.
How can I easily implement these non-blocking combinators if Scala does not support them? I would like to use the existing combinators for the implementation.