Uses of Interface
org.bsc.async.AsyncGenerator
Packages that use AsyncGenerator
-
Uses of AsyncGenerator in org.bsc.async
Subinterfaces of AsyncGenerator in org.bsc.asyncClasses in org.bsc.async that implement AsyncGeneratorModifier and TypeClassDescriptionstatic classAbstract base class for AsyncGenerator implementations.static 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 classDeprecated, for removal: This API element is subject to removal in a future version.Inner 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.AsyncGenerator.Embed.generator()Returns the value of thegeneratorrecord component.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>Deprecated, for removal: This API element is subject to removal in a future version.Creates an AsyncGenerator from the provided blocking queue and consumer.static <E,Q extends BlockingQueue<AsyncGenerator.Data<E>>>
AsyncGenerator<E>Deprecated, for removal: This API element is subject to removal in a future version.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) Creates an instance of aEmbedrecord class.WithEmbed(AsyncGenerator<E> delegate) WithEmbed(AsyncGenerator<E> delegate, AsyncGenerator.EmbedCompletionHandler onGeneratorDoneWithResult) WithResult(AsyncGenerator<E> delegate) -
Uses of AsyncGenerator in org.bsc.async.internal.reactive
Classes 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. -
Uses of AsyncGenerator in org.bsc.async.v5
Classes in org.bsc.async.v5 that implement AsyncGeneratorModifier and TypeClassDescriptionstatic classInner class to generate asynchronous elements from the queue.