CompletableFuture
Doug Lea
dl at cs.oswego.edu
Wed Nov 28 07:07:54 PST 2012
On 11/27/12 17:01, Remi Forax wrote:
>> /**
>> * Performs the given action with the result of this
>> * CompletableFuture if/when it completes normally.
>> *
>> * @return this CompletableFuture, for convenience
>> */
>> public CompletableFuture<T> then(Block<? super T> action);
>
> The result should be a Completable<?> not a CompletableFuture<T>, right ?
The void completion methods don't return new CompletableFuture (no need)
but just "return this" to be nice to fluency fans.
Also, as a couple of people now have noticed. The name "Block"
here looks especially weird/distracting/wrong.
Brian, are we really keeping the name "Block" even though
no responses on this list a few weeks ago were in favor if it?
-Doug
More information about the lambda-libs-spec-observers
mailing list