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

Method start

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

Source from the content-addressed store, hash-verified

65 }
66
67 private start(): void {
68 if (this.interval === null) {
69 this.interval = setInterval(() => {
70 this.latches.forEach((latch) => {
71 latch.tick();
72 if (latch.isDone) {
73 this.remove(latch);
74 }
75 });
76 }, 1);
77 }
78 }
79
80 private stop(): void {
81 if (this.interval !== null) {

Callers 1

addMethod · 0.95

Calls 2

removeMethod · 0.95
tickMethod · 0.80

Tested by

no test coverage detected