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).
to complete the async collector with
Complete this ResultFuture with an error.
Complete this ResultFuture with an error.
to complete the async collector with
The result future collects data/errors from the user code while processing asynchronous I/O operations.
type of the output element