public final class RealmAsyncTask extends java.lang.Object
Users are responsible for maintaining a reference to
RealmAsyncTask in order to call
case of a configuration change for example (to avoid memory leak, as the transaction will post the result to the
caller's thread callback).
|Modifier and Type||Method and Description|
Attempts to cancel execution of this transaction (if it hasn't already completed or previously cancelled).
Checks whether an attempt to cancel the transaction was performed.
public void cancel()
public boolean isCancelled()
cancel()has already been called,