Package | Description |
---|---|
com.aldebaran.qi |
Modifier and Type | Method and Description |
---|---|
Future<Void> |
Future.andThenConsume(Consumer<T> consumer)
Launch a task when the task link when this future succeed only
|
void |
Optional.ifPresent(Consumer<? super T> action) |
void |
Optional.ifPresentOrElse(Consumer<? super T> action,
Runnable emptyAction) |
Future<Void> |
Future.thenConsume(Consumer<Future<T>> consumer)
Launch a task when the task link when this future finished (succeed,
error or cancelled)
|
Copyright © 2019. All rights reserved.