MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / _queueActionInternal

Method _queueActionInternal

emain/emain-window.ts:517–527  ·  view source on GitHub ↗
(entry: WindowActionQueueEntry)

Source from the content-addressed store, hash-verified

515 }
516
517 private async _queueActionInternal(entry: WindowActionQueueEntry) {
518 if (this.actionQueue.length >= 2) {
519 this.actionQueue[1] = entry;
520 return;
521 }
522 const wasEmpty = this.actionQueue.length === 0;
523 this.actionQueue.push(entry);
524 if (wasEmpty) {
525 await this.processActionQueue();
526 }
527 }
528
529 private removeTabViewLater(tabId: string, delayMs: number) {
530 setTimeout(() => {

Callers 4

switchWorkspaceMethod · 0.95
setActiveTabMethod · 0.95
queueCreateTabMethod · 0.95
queueCloseTabMethod · 0.95

Calls 2

processActionQueueMethod · 0.95
pushMethod · 0.80

Tested by

no test coverage detected