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

Method setSuspense

packages/core/src/document/document.ts:307–316  ·  view source on GitHub ↗
(flag: boolean)

Source from the content-addressed store, hash-verified

305 */
306 @action
307 private setSuspense(flag: boolean) {
308 if (!this._opened && !flag) {
309 return
310 }
311 this._suspended = flag
312 this.simulator?.setSuspense(flag)
313 if (!flag) {
314 this.project.checkExclusive(this)
315 }
316 }
317
318 suspense() {
319 this.setSuspense(true)

Callers 4

suspenseMethod · 0.95
activateMethod · 0.95
openMethod · 0.95
closeMethod · 0.95

Calls 1

checkExclusiveMethod · 0.80

Tested by

no test coverage detected