ResultFuture
@PublicEvolving
The result future collects data/errors from the user code while processing asynchronous I/O operations.
- Type parameters:
- OUT
type of the output element
Value members
Abstract methods
Complete the ResultFuture with a set of result elements.
Complete the ResultFuture with a set of result elements.
Note that it should be called for exactly one time in the user code. Calling this function for multiple times will cause data lose.
Put all results in a Iterable and then issue ResultFuture.complete(Iterable).
- Value parameters:
- result
to complete the async collector with