Package io.tesler.api.service
Interface AsyncService
-
- All Known Implementing Classes:
AsyncServiceImpl
public interface AsyncService
-
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T,E extends Throwable>
CompletableFuture<T>invokeAsync(Invoker<T,E> invoker)
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
invokeAsync
<T,E extends Throwable> CompletableFuture<T> invokeAsync(Invoker<T,E> invoker) throws E extends Throwable
- Throws:
E extends Throwable
-
-