MCPcopy
hub / github.com/paperwm/PaperWM / connect

Method connect

utils.js:540–545  ·  view source on GitHub ↗
(object, signal, handler)

Source from the content-addressed store, hash-verified

538 }
539
540 connect(object, signal, handler) {
541 let id = object.connect(signal, handler);
542 let signals = this._getOrCreateSignals(object);
543 signals.push(id);
544 return id;
545 }
546
547 disconnect(object, id = null) {
548 let ids = this.get(object);

Callers 15

connectOneShotMethod · 0.95
enableFunction · 0.80
enableFunction · 0.80
constructorMethod · 0.80
beginMethod · 0.80
beginDnDMethod · 0.80
_initMethod · 0.80
_createRowMethod · 0.80
_initMethod · 0.80
enableFunction · 0.80
enableFunction · 0.80
constructorMethod · 0.80

Calls 1

_getOrCreateSignalsMethod · 0.95

Tested by

no test coverage detected