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

Function validateMonitorReporting

lib/client-options.js:324–329  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

322}
323
324function validateMonitorReporting(options) {
325 const o = options.monitorReporting;
326 if (o === null || typeof o !== 'object') {
327 throw new TypeError(`Monitor reporting must be an object, obtained: ${o}`);
328 }
329}
330
331/**
332 * Sets the default options that depend on the protocol version and other metadata.

Callers 1

extendFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected