MCPcopy
hub / github.com/csev/py4e / signal

Function signal

tools/pythonauto/static/codemirror/codemirror.js:5525–5530  ·  view source on GitHub ↗
(emitter, type /*, values...*/)

Source from the content-addressed store, hash-verified

5523 }
5524
5525 function signal(emitter, type /*, values...*/) {
5526 var arr = emitter._handlers && emitter._handlers[type];
5527 if (!arr) return;
5528 var args = Array.prototype.slice.call(arguments, 2);
5529 for (var i = 0; i < arr.length; ++i) arr[i].apply(null, args);
5530 }
5531
5532 var delayedCallbacks, delayedCallbackDepth = 0;
5533 function signalLater(emitter, type /*, values...*/) {

Callers 15

filterSelectionChangeFunction · 0.85
skipAtomicFunction · 0.85
endOperationFunction · 0.85
registerEventHandlersFunction · 0.85
onFocusFunction · 0.85
onBlurFunction · 0.85
filterChangeFunction · 0.85
codemirror.jsFile · 0.85
buildLineContentFunction · 0.85
addChangeToHistoryFunction · 0.85
signalDOMEventFunction · 0.85
endOperationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected