MCPcopy Create free account
hub / github.com/Starcounter-Jack/JSON-Patch / fastCheck

Function fastCheck

module/duplex.mjs:64–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62 generate(observer);
63 };
64 var fastCheck = function () {
65 clearTimeout(observer.next);
66 observer.next = setTimeout(dirtyCheck);
67 };
68 if (typeof window !== 'undefined') { //not Node
69 window.addEventListener('mouseup', fastCheck);
70 window.addEventListener('keyup', fastCheck);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected