Client and backend. This class is shared: the same code is compiled into your app and into your server, so everything on this page works in both.
public interface CryptoBatch.Callback<T>
The answer of an asynchronous batch.
Parameters
<T>: what the batch answers
Methods
public abstract void done(T result, Throwable error) | Called once when the batch finishes, on the EDT in the app. |
Method details
done
public abstract void done(T result, Throwable error)Called once when the batch finishes, on the EDT in the app.
Parameters
resultT- what the synchronous form would have returned (for a packed form, the
array it wrote into), or
nullon an error errorThrowablenull, or what the synchronous form would have thrown