MCPcopy Create free account
hub / github.com/CodeboxIDE/codebox / _resetSequenceTimer

Function _resetSequenceTimer

client/vendors/mousetrap.js:594–597  ·  view source on GitHub ↗

* called to set a 1 second timeout on the specified sequence * * this is so after each key press in the sequence you have 1 second * to press the next key before you have to start over * * @returns void

()

Source from the content-addressed store, hash-verified

592 * @returns void
593 */
594 function _resetSequenceTimer() {
595 clearTimeout(_resetTimer);
596 _resetTimer = setTimeout(_resetSequences, 1000);
597 }
598
599 /**
600 * reverses the map lookup so that we can look for specific keys

Callers 1

_increaseSequenceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected