Package org.bsc.async

Class AsyncGenerator.WithResult<E>

java.lang.Object
org.bsc.async.AsyncGenerator.WithResult<E>
Type Parameters:
E - the type of elements in the generator
All Implemented Interfaces:
Iterable<E>, AsyncGenerator<E>, AsyncGeneratorOperators<E>
Enclosing interface:
AsyncGenerator<E>

public static class AsyncGenerator.WithResult<E> extends Object implements AsyncGenerator<E>
An asynchronous generator decorator that allows retrieving the result value of the asynchronous operation, if any.