Uses of Class
org.forgerock.util.promise.Promises.IterateOverBuilder
Packages that use Promises.IterateOverBuilder
-
Uses of Promises.IterateOverBuilder in org.forgerock.util.promise
Methods in org.forgerock.util.promise that return Promises.IterateOverBuilderModifier and TypeMethodDescriptionPromises.IterateOverBuilder.continueOnFailure()Configure whether the iteration should fail immediately on any failure, or should proceed to try the next element in sequence.Configure thePredicateto match against when iterating.static <V,E extends Exception>
Promises.IterateOverBuilder<V,E> Promises.iterateOver(Iterable<AsyncSupplier<V, E>> promiseIterable) Configure anPromises.IterateOverBuilderto iterate over anIterableof promisesuppliersin search of the first to match a givenpredicate.static <V,E extends Exception>
Promises.IterateOverBuilder<V,E> Promises.iterateOver(Stream<AsyncSupplier<V, E>> promiseStream) Configure anPromises.IterateOverBuilderto iterate over aStreamof promisesuppliersin search of the first to match a givenpredicate.