MCPcopy Create free account
hub / github.com/uiwjs/react-codemirror / reset

Method reset

core/src/timeoutLatch.ts:40–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38 }
39
40 reset(): void {
41 this.timeLeftMS = this.timeoutMS;
42 this.isCancelled = false;
43 this.isTimeExhausted = false;
44 }
45
46 get isDone(): boolean {
47 return this.isCancelled || this.isTimeExhausted;

Callers 1

useCodeMirrorFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected