@FunctionalInterface
public interface IAsyncExecutable<R extends BreinResult>
| Modifier and Type | Method and Description |
|---|---|
default void |
execute()
Method to execute the request asynchronous without any callback.
|
void |
execute(java.util.function.Consumer<R> callback)
Method to execute the request asynchronous with a callback.
|
default void execute()
void execute(java.util.function.Consumer<R> callback)
callback - the callback containing the response of the request, can be nullCopyright © Breinify - All Rights Reserved.