IEnumerable#partition.
Promise#tryComplete, Future#firstOf.