public NativeQuery withResultSetAsyncListeners(List<Function<ResultSet, ResultSet>> resultSetAsyncListeners) {
        this.options.setResultSetAsyncListeners(Optional.of(resultSetAsyncListeners));
        return this;
    }
public NativeQuery withResultSetAsyncListeners ( List < Function < ResultSet , ResultSet > > resultSetAsyncListeners ) { this . options . setResultSetAsyncListeners ( Optional . of ( resultSetAsyncListeners ) ) ; return this ; }
Add the given list of async listeners on the {@link com.datastax.driver.core.ResultSet} object.
Example of usage:
<pre class="code"><code class="java">

.withResultSetAsyncListeners(Arrays.asList(resultSet -> {
//Do something with the resultSet object here
}))

</code></pre>

Remark: <strong>it is not allowed to consume the ResultSet values. It is strongly advised to read only meta data</strong>