
cn.leancloud.callback.FunctionCallback Maven / Gradle / Ivy
package cn.leancloud.callback;
import cn.leancloud.AVException;
public abstract class FunctionCallback extends AVCallback {
/**
* Override this function with the code you want to run after the cloud function is complete.
*
* @param object The object that was returned by the cloud function.
* @param e The exception raised by the cloud call, or null if it succeeded.
*/
public abstract void done(T object, AVException e);
protected final void internalDone0(T returnValue, AVException e) {
done(returnValue, e);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy