Package com.naver.ads.deferred
Interface Continuation
-
- All Implemented Interfaces:
public interface Continuation<TResult extends Object, TContinuationResult extends Object>A Functional interface to be called after a deferred completes.
-
-
Method Summary
Modifier and Type Method Description abstract TContinuationResultthen(Deferred<TResult> deferred)The function to be called when the given deferred is completed. -
-
Method Detail
-
then
abstract TContinuationResult then(Deferred<TResult> deferred)
The function to be called when the given deferred is completed.
- Parameters:
deferred- the completed deferred.- Returns:
a nullable result of this function.
-
-
-
-