MCPcopy Create free account
hub / github.com/FlashpointProject/launcher / update

Method update

src/back/util/EventQueue.ts:45–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43 }
44
45 private update() {
46 if (!this.isExecuting && this.queue.length > 0) {
47 // Update flag
48 this.isExecuting = true;
49 // Start executing
50 this.executeNext()
51 .finally(() => { this.isExecuting = false; });
52 }
53 }
54
55 /**
56 * Execute the next event in the queue (and continue doing so until the queue is empty).

Callers 4

pushMethod · 0.95
hash_fileFunction · 0.80
GameDataInfoFunction · 0.80
calculateFileHashMethod · 0.80

Calls 1

executeNextMethod · 0.95

Tested by

no test coverage detected