MCPcopy Create free account
hub / github.com/Easy-Editor/EasyEditor / setTimer

Method setTimer

packages/core/src/document/history.ts:278–281  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

276 }
277
278 private setTimer() {
279 this.clearTimer()
280 this.activeTimer = setTimeout(() => this.end(), this.timeGap)
281 }
282
283 private clearTimer() {
284 if (this.activeTimer) {

Callers 2

constructorMethod · 0.95
logMethod · 0.95

Calls 2

clearTimerMethod · 0.95
endMethod · 0.95

Tested by

no test coverage detected