MCPcopy Create free account
hub / github.com/FernhillFable/cluster / beforeOpHandler

Function beforeOpHandler

test/client/doc.js:281–287  ·  view source on GitHub ↗
(op, source)

Source from the content-addressed store, hash-verified

279 var doc2 = this.doc2;
280 var doc3 = this.doc3;
281 function beforeOpHandler(op, source) {
282 if (source) {
283 return;
284 }
285 doc.off('before op', beforeOpHandler);
286 doc.submitOp({p: ['list', 0], li: 2}, {source: true});
287 }
288 function opHandler(op, source) {
289 if (source) {
290 return;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected