MCPcopy
hub / github.com/parse-community/parse-server / load

Method load

src/Controllers/HooksController.js:29–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27 }
28
29 load() {
30 return this._getHooks().then(hooks => {
31 hooks = hooks || [];
32 hooks.forEach(hook => {
33 this.addHookToTriggers(hook);
34 });
35 });
36 }
37
38 getFunction(functionName) {
39 return this._getHooks({ functionName: functionName }).then(results => results[0]);

Callers 5

startMethod · 0.45
loadSchemaMethod · 0.45
ParseHooks.spec.jsFile · 0.45

Calls 2

_getHooksMethod · 0.95
addHookToTriggersMethod · 0.95

Tested by

no test coverage detected