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

result T
what the synchronous form would have returned (for a packed form, the array it wrote into), or null on an error
error Throwable
null, or what the synchronous form would have thrown