Interface CryptoBatch.Callback<T>

Enclosing class:
CryptoBatch

public static interface CryptoBatch.Callback<T>

The answer of an asynchronous batch.

Parameters
  • <T>: what the batch answers
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    done(T result, Throwable error)
    Called once when the batch finishes, on the EDT in the app.
  • Method Details

    • done

      void done(T result, Throwable error)

      Called once when the batch finishes, on the EDT in the app.

      Parameters
      • result: what the synchronous form would have returned (for a packed form, the array it wrote into), or null on an error

      • error: null, or what the synchronous form would have thrown