public interface AsyncGeneratorFlow
Represents a queue-based asynchronous generator.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classstatic interfacestatic classInner class to generate asynchronous elements from the queue.static interfacestatic interface -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic AsyncGeneratorFlow.Builderbuilder()static <E> AsyncGeneratorFlow.Generator<E>create(Consumer<AsyncGeneratorFlow.Dispatcher<E>> emitter) static <E> AsyncGeneratorFlow.Generator<E>create(AsyncGeneratorFlow.Processor<E> processor)
-
Method Details
-
builder
-
create
static <E> AsyncGeneratorFlow.Generator<E> create(Consumer<AsyncGeneratorFlow.Dispatcher<E>> emitter) -
create
-