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

Function slowPoll

tools/pythonauto/static/codemirrorepl/codemirrorepl.js:1026–1034  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1024
1025 var pollingFast = false; // Ensures slowPoll doesn't cancel fastPoll
1026 function slowPoll() {
1027 if (pollingFast) return;
1028 poll.set(options.pollInterval, function() {
1029 startOperation();
1030 readInput();
1031 if (focused) slowPoll();
1032 endOperation();
1033 });
1034 }
1035 function fastPoll() {
1036 var missed = false;
1037 pollingFast = true;

Callers 3

onFocusFunction · 0.70
pFunction · 0.70
rehideFunction · 0.70

Calls 3

startOperationFunction · 0.70
readInputFunction · 0.70
endOperationFunction · 0.70

Tested by

no test coverage detected