T - the type of the future.public interface Responder<T>
Callback to be used with future.respond.
| Modifier and Type | Method and Description |
|---|---|
void |
onException(Throwable ex)
Method called when the future completes with an exception.
|
void |
onValue(T value)
Method called when the future completes with a value.
|
Copyright © 2017. All Rights Reserved.