MCPcopy
hub / github.com/strongloop/loopback / spyAndStoreSinceArg

Function spyAndStoreSinceArg

test/replication.test.js:1891–1897  ·  view source on GitHub ↗
(Model, methodName, store)

Source from the content-addressed store, hash-verified

1889 }
1890
1891 function spyAndStoreSinceArg(Model, methodName, store) {
1892 const orig = Model[methodName];
1893 Model[methodName] = function(since) {
1894 store.push(since);
1895 orig.apply(this, arguments);
1896 };
1897 }
1898
1899 function getPropValue(obj, name) {
1900 return Array.isArray(obj) ?

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…