Interface Callback<V>

  • Type Parameters:
    V - the type of result

    public interface Callback<V>
    Represents a method which may be called once a result has been computed asynchronously.
    • Method Detail

      • done

        void done​(V result,
                  Throwable error)
        Called when the result is done.
        result - the result of the computation
        error - the error(s) that occurred, if any