deepify
Version:
DEEP Development Tools
18 lines (15 loc) • 422 B
JavaScript
/**
* Created by CCristi on 2/6/17.
*/
;
module.exports = function(mainPath) {
require('./_replicate')({
context: this,
mainPath: mainPath,
afterLoad: (replicationInstance, tables, blueHash, greenHash) => {
return replicationInstance.stop(tables).then(() => {
console.log(`Data Replication between "${blueHash}" and "${greenHash}" has been stopped.`);
});
},
});
};