Uses of Interface java.util.concurrent.StructuredTaskScope.Joiner (Java SE 26 & JDK 26)
Description: use: module: java.base, package: java.util.concurrent, interface: StructuredTaskScope, interface: Joiner

# Uses of Interface
java.util.concurrent.StructuredTaskScope.Joiner

Packages that use StructuredTaskScope.JoinerPREVIEW
Package
Description
java.util.concurrent
Utility classes commonly useful in concurrent programming.

- ## Uses of StructuredTaskScope.JoinerPREVIEW in java.util.concurrent

  Methods in java.util.concurrent that return StructuredTaskScope.JoinerPREVIEW
  Modifier and Type
  Method
  Description
  `static <T> StructuredTaskScope.JoinerPREVIEW<T,List<T>>`
  StructuredTaskScope.Joiner.`allSuccessfulOrThrow()`
  Returns a new Joiner object that yields a list of all results when all subtasks complete successfully.
  `static <T> StructuredTaskScope.JoinerPREVIEW<T, List<StructuredTaskScope.SubtaskPREVIEW<T>>>`
  StructuredTaskScope.Joiner.`allUntil(Predicate<StructuredTaskScope.SubtaskPREVIEW<T>> isDone)`
  Returns a new Joiner object that yields a list of all subtasks when all subtasks complete or a predicate returns `true` to cancel the scope.
  `static <T> StructuredTaskScope.JoinerPREVIEW<T,T>`
  StructuredTaskScope.Joiner.`anySuccessfulOrThrow()`
  Returns a new Joiner object that yields the result of any subtask that completed successfully.
  `static <T> StructuredTaskScope.JoinerPREVIEW<T,Void>`
  StructuredTaskScope.Joiner.`awaitAll()`
  Returns a new Joiner object that waits for all subtasks to complete.
  `static <T> StructuredTaskScope.JoinerPREVIEW<T,Void>`
  StructuredTaskScope.Joiner.`awaitAllSuccessfulOrThrow()`
  Returns a new Joiner object that waits for subtasks to complete successfully.
  Methods in java.util.concurrent with parameters of type StructuredTaskScope.JoinerPREVIEW
  Modifier and Type
  Method
  Description
  `static <T,R> StructuredTaskScopePREVIEW<T,R>`
  StructuredTaskScope.`open(StructuredTaskScope.JoinerPREVIEW<? super T, ? extends R> joiner)`
  Opens a new `StructuredTaskScope`to use the given `Joiner` object.
  `static <T,R> StructuredTaskScopePREVIEW<T,R>`
  StructuredTaskScope.`open(StructuredTaskScope.JoinerPREVIEW<? super T, ? extends R> joiner, UnaryOperator<StructuredTaskScope.ConfigurationPREVIEW> configOperator)`
  Opens a new `StructuredTaskScope` to use the given `Joiner` object and with configuration that is the result of applying the given operator to the default configuration.