MCPcopy Index your code
hub / github.com/SuperMap/iClient-JavaScript / on

Method on

test/tool/mock_l7.js:73–76  ·  view source on GitHub ↗
(type, callback)

Source from the content-addressed store, hash-verified

71 return true;
72 }
73 on(type, callback) {
74 this.callbacks[type] = callback;
75 callback();
76 }
77 emit(type) {
78 this.callbacks[type]();
79 }

Callers

nothing calls this directly

Calls 1

callbackFunction · 0.50

Tested by

no test coverage detected