Interface JsFuture<T extends JsValue>

  • Type Parameters:
    T - the type returned by the completable future
    All Superinterfaces:
    java.util.function.Supplier<java.util.concurrent.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 java.util.function.Supplier<java.util.concurrent.CompletableFuture<T>>
    Represents a supplier of a completable future which result is a JsValue
    • Method Summary

      • Methods inherited from interface java.util.function.Supplier

        get