algoliasearch/src/offline/java/com/algolia/search/saas/OfflineIndex.java
public Request browseAsync(@NonNull Query query, @NonNull CompletionHandler completionHandler) {
        final Query queryCopy = new Query(query);
        return getClient().new AsyncTaskRequest(completionHandler) {
            @NonNull
            @Override
            protected JSONObject run() throws AlgoliaException {
                return browseSync(queryCopy);
            }
        }.start();
    }
public Request browseAsync(@NonNull Query query, @NonNull CompletionHandler completionHandler) {
        final Query queryCopy = new Query(query);
        return getClient().new AsyncTaskRequest(completionHandler) {
            @NonNull
            @Override
            protected JSONObject run() throws AlgoliaException {
                return browseSync(queryCopy);
            }
        }.start();
    }
Browse all index content (initial call).
This method should be called once to initiate a browse. It will return the first page of results and a cursor,
unless the end of the index has been reached. To retrieve subsequent pages, call `browseFromAsync` with that
cursor.

@param query The query parameters for the browse.
@param completionHandler The listener that will be notified of the request's outcome.
@return A cancellable request.