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

Function getWriteQueueFake

test/unit/connection-tests.js:290–298  ·  view source on GitHub ↗
(sent)

Source from the content-addressed store, hash-verified

288}
289
290function getWriteQueueFake(sent) {
291 sent = sent || [];
292 return ({
293 push: function (op, writeCallback) {
294 sent.push(op);
295 setImmediate(writeCallback);
296 }
297 });
298}
299
300function getExecOptions(options) {
301 const result = ExecutionOptions.empty();

Callers 1

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected