MCPcopy Index your code
hub / github.com/dynastic/place / _getMethodHandler

Method _getMethodHandler

util/DataModelManager.js:66–69  ·  view source on GitHub ↗
(model, name, isStatic)

Source from the content-addressed store, hash-verified

64 }
65
66 _getMethodHandler(model, name, isStatic) {
67 console.log(`Getting method handler ${model}/${name} (${isStatic ? "static" : "instance"})`)
68 return this._getList(isStatic)[model][name];
69 }
70
71 _registerMethodHandler(model, name, isStatic, handler) {
72 if(!this._getList(isStatic)[model]) this._getList(isStatic)[model] = [];

Callers 2

registerModelMethod · 0.80
_setupMethodHandlerMethod · 0.80

Calls 1

_getListMethod · 0.95

Tested by

no test coverage detected