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

Function scheduleVerification

lib/application.js:466–472  ·  view source on GitHub ↗
(Model, verifyFn)

Source from the content-addressed store, hash-verified

464 });
465
466 function scheduleVerification(Model, verifyFn) {
467 if (Model.dataSource) {
468 verifyFn(Model);
469 } else {
470 Model.on('attached', () => verifyFn(Model));
471 }
472 }
473
474 function verifyAccessTokenRelations(Model) {
475 const belongsToUser = Model.relations && Model.relations.user;

Callers 1

application.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…