Interface UniJoin.JoinAllStrategyTerminal<T>

Type Parameters:
T - the type of the Uni values
All Known Implementing Classes:
UniJoin.JoinAllStrategy
Enclosing class:
UniJoin

public static interface UniJoin.JoinAllStrategyTerminal<T>
Terminal interface for UniJoin.all(List)
  • Method Summary

    Modifier and Type
    Method
    Description
    Wait for all Uni references to terminate, and collect all failures in a CompositeException.
    Immediately forward the first failure from any of the Uni, and cancel the remaining Uni subscriptions, ignoring eventual subsequent failures.
  • Method Details

    • andCollectFailures

      @CheckReturnValue Uni<List<T>> andCollectFailures()
      Wait for all Uni references to terminate, and collect all failures in a CompositeException.
      Returns:
      a new Uni
    • andFailFast

      @CheckReturnValue Uni<List<T>> andFailFast()
      Immediately forward the first failure from any of the Uni, and cancel the remaining Uni subscriptions, ignoring eventual subsequent failures.
      Returns:
      a new Uni