(entry: WindowActionQueueEntry)
| 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(() => { |
no test coverage detected