MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / slowPoll

Method slowPoll

lib/web/CodeMirror/src/input/TextareaInput.js:196–202  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

194 // Poll for input changes, using the normal rate of polling. This
195 // runs as long as the editor is focused.
196 slowPoll() {
197 if (this.pollingFast) return
198 this.polling.set(this.cm.options.pollInterval, () => {
199 this.poll()
200 if (this.cm.state.focused) this.slowPoll()
201 })
202 }
203
204 // When an event has just come in that is likely to add or change
205 // something in the input textarea, we poll faster, to ensure that

Callers 4

receivedFocusMethod · 0.95
codemirror.jsFile · 0.80
pFunction · 0.80
pMethod · 0.80

Calls 2

pollMethod · 0.95
setMethod · 0.65

Tested by

no test coverage detected