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

Function sync

test/replication.test.js:1561–1570  ·  view source on GitHub ↗
(client, server)

Source from the content-addressed store, hash-verified

1559 }
1560
1561 function sync(client, server) {
1562 return function syncBothWays(next) {
1563 async.series([
1564 // NOTE(bajtos) It's important to replicate from the client to the
1565 // server first, so that we can resolve any conflicts at the client
1566 replicateExpectingSuccess(client, server),
1567 replicateExpectingSuccess(server, client),
1568 ], next);
1569 };
1570 }
1571 });
1572
1573 function updateSourceInstanceNameTo(value) {

Callers 3

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…