public interface PublisherHelpers
- 
Method SummaryStatic MethodsModifier and TypeMethodDescriptionstatic <T> CompletionStage<List<T>>collectToList(Flow.Publisher<T> publisher) Collect all items as a list.
- 
Method Details- 
collectToListCollect all items as a list.- Type Parameters:
- T- the emitted type
- Parameters:
- publisher- the publisher
- Returns:
- the future accumulating the items into a list.
 
 
-