Package dev.webfx.platform.async.impl
Interface Listener<T>
- All Known Implementing Classes:
CompositeFutureImpl
,PromiseImpl
public interface Listener<T>
Internal listener that signals success or failure when a future completes.
- Author:
- Julien Viet
-
Method Summary
-
Method Details
-
onSuccess
Signal the success.- Parameters:
value
- the value
-
onFailure
Signal the failure- Parameters:
failure
- the failure
-