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

Method remove

core/src/timeoutLatch.ts:60–65  ·  view source on GitHub ↗
(latch: TimeoutLatch)

Source from the content-addressed store, hash-verified

58 }
59
60 remove(latch: TimeoutLatch): void {
61 this.latches.delete(latch);
62 if (this.latches.size === 0) {
63 this.stop();
64 }
65 }
66
67 private start(): void {
68 if (this.interval === null) {

Callers 1

startMethod · 0.95

Calls 1

stopMethod · 0.95

Tested by

no test coverage detected