public interface FRListener<T extends Object>
Listener to listen for event
abstract Unit
onSuccess(T result)
onException(Exception e)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
abstract Unit onSuccess(T result)
Called when an asynchronous call completes successfully.
result
abstract Unit onException(Exception e)
Called when an asynchronous call fails to complete.
e