MCPcopy Index your code
hub / github.com/strongloop/loopback / updateClientB

Function updateClientB

test/replication.test.js:1550–1559  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

1548 }
1549
1550 function updateClientB(name) {
1551 return function updateInstanceB(next) {
1552 ClientB.findById(sourceInstanceId, function(err, instance) {
1553 if (err) return next(err);
1554
1555 instance.name = name;
1556 instance.save(next);
1557 });
1558 };
1559 }
1560
1561 function sync(client, server) {
1562 return function syncBothWays(next) {

Callers 3

Calls 1

nextFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…