MCPcopy Create free account
hub / github.com/apache/cassandra-nodejs-driver / getNextPageHandler

Method getNextPageHandler

lib/request-handler.js:301–310  ·  view source on GitHub ↗

* Gets a long lived closure that can fetch the next page. * @returns {Function}

()

Source from the content-addressed store, hash-verified

299 * @returns {Function}
300 */
301 getNextPageHandler() {
302 const request = this.request;
303 const execOptions = this.executionOptions;
304 const client = this.client;
305
306 return function nextPageHandler(pageState) {
307 execOptions.setPageState(pageState);
308 return new RequestHandler(request, execOptions, client).send();
309 };
310 }
311}
312
313module.exports = RequestHandler;

Callers 1

_getResultSetMethod · 0.80

Calls 2

setPageStateMethod · 0.45
sendMethod · 0.45

Tested by

no test coverage detected