Uses of Interface
org.bsc.async.AsyncGenerator
Packages that use AsyncGenerator
- 
Uses of AsyncGenerator in org.bsc.asyncSubinterfaces of AsyncGenerator in org.bsc.asyncClasses in org.bsc.async that implement AsyncGeneratorModifier and TypeClassDescriptionstatic classstatic classstatic classAn asynchronous generator decorator that allows to generators composition embedding other generators.static classAn asynchronous generator decorator that allows retrieving the result value of the asynchronous operation, if any.static classInner class to generate asynchronous elements from the queue.Methods in org.bsc.async that return AsyncGeneratorModifier and TypeMethodDescriptionAsyncGenerator.WithResult.delegate()static <E> AsyncGenerator<E>AsyncGenerator.empty()Returns an empty AsyncGenerator.default <U> AsyncGenerator<U>AsyncGenerator.flatMap(Function<E, CompletableFuture<U>> mapFunction) Maps the elements of this generator to a new asynchronous generator, and flattens the resulting nested generators.static <E> AsyncGenerator<E>Collects asynchronous elements from an iterator.default <U> AsyncGenerator<U>Maps the elements of this generator to a new asynchronous generator.static <E,Q extends BlockingQueue<AsyncGenerator.Data<E>>> 
 AsyncGenerator<E>Creates an AsyncGenerator from the provided blocking queue and consumer.static <E,Q extends BlockingQueue<AsyncGenerator.Data<E>>> 
 AsyncGenerator<E>Creates an AsyncGenerator from the provided queue, executor, and consumer.Methods in org.bsc.async with parameters of type AsyncGeneratorModifier and TypeMethodDescriptionstatic <E> AsyncGenerator.Data<E>AsyncGenerator.Data.composeWith(AsyncGenerator<E> generator, AsyncGenerator.EmbedCompletionHandler onCompletion) AsyncGenerator.resultValue(AsyncGenerator<?> generator) static <T> Flow.Publisher<T>FlowGenerator.toPublisher(AsyncGenerator<T> generator) Converts anAsyncGeneratorinto aFlow.Publisher.Constructors in org.bsc.async with parameters of type AsyncGeneratorModifierConstructorDescriptionEmbed(AsyncGenerator<E> generator, AsyncGenerator.EmbedCompletionHandler onCompletion) WithEmbed(AsyncGenerator<E> delegate) WithEmbed(AsyncGenerator<E> delegate, AsyncGenerator.EmbedCompletionHandler onGeneratorDoneWithResult) WithResult(AsyncGenerator<E> delegate) 
- 
Uses of AsyncGenerator in org.bsc.async.internal.reactiveClasses in org.bsc.async.internal.reactive that implement AsyncGeneratorModifier and TypeClassDescriptionclassRepresents a subscriber for generating asynchronous data streams.Constructors in org.bsc.async.internal.reactive with parameters of type AsyncGeneratorModifierConstructorDescriptionGeneratorPublisher(AsyncGenerator<? extends T> delegate) Constructs a newGeneratorPublisherwith the specified async generator.