Interface AsyncSupplier<R,​T>

  • Type Parameters:
    R - result type
    T - supplied type
    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 AsyncSupplier<R,​T>
    A Supplier that manually triggers asynchronous retries or completion via an asynchronous execution.
    • Method Detail

      • get

        T get​(AsyncExecution<R> execution)
        throws java.lang.Exception
        Throws:
        java.lang.Exception