Package jsonvalues.future
Interface JsFuture<T extends JsValue>
-
- Type Parameters:
T
- the type returned by the completable future
- All Superinterfaces:
Supplier<CompletableFuture<T>>
- All Known Implementing Classes:
JsArrayFuture
,JsObjFuture
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface JsFuture<T extends JsValue> extends Supplier<CompletableFuture<T>>
Represents a supplier of a completable future which result is a JsValue