Interface AsyncCallback<T>


public interface AsyncCallback<T>
The interface a caller must implement to receive a response from a call to Runtime.
  • Method Summary

    Modifier and Type Method Description
    void onSuccess​(T result)
    Called when asynchronous call completes successfully
  • Method Details

    • onSuccess

      void onSuccess​(T result)
      Called when asynchronous call completes successfully
      Parameters:
      result - the return value of the asynchronous call