AsyncOperation.ResultBiConsumer<T,U> Interface
Type Parameters
- T
First argument type
- U
Second argument type
public interface ResultBiConsumer<T,U>
Represents an action to be invoked after an AsyncOperation is done. Notably, this functional interface is used when two invocation arguments are used like with AsyncOperation.whenComplete.
This is a functional interface equivalent to android's BiConsumer interface
Method Summary
Modifier and Type | Method and Description |
---|---|
void |
accept(T t, U u)
Performs this operation on the given arguments |
Method Details
accept
public void accept(T t, U u)
Performs this operation on the given arguments
Parameters:
t
- First input argument
u
- Second input argument