-
public abstract class GuardedAsyncTask<Params, Progress> extends AsyncTask<Params, Progress, Void>
Abstract base for a AsyncTask that should have any RuntimeExceptions it throws handled by the com.facebook.react.bridge.NativeModuleCallExceptionHandler registered if the app is in dev mode.
This class doesn't allow doInBackground to return a results. If you need this use GuardedResultAsyncTask instead.