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

Function fastCheck

src/duplex.ts:88–91  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

86 generate(observer);
87 };
88 var fastCheck = () => {
89 clearTimeout(observer.next);
90 observer.next = setTimeout(dirtyCheck);
91 };
92 if (typeof window !== 'undefined') { //not Node
93 window.addEventListener('mouseup', fastCheck);
94 window.addEventListener('keyup', fastCheck);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected