(
sessionId: string,
operation: StopOperation,
input: StopSessionInput,
deliverPending: boolean,
)
| 2142 | } |
| 2143 | |
| 2144 | private enqueueStopOperation( |
| 2145 | sessionId: string, |
| 2146 | operation: StopOperation, |
| 2147 | input: StopSessionInput, |
| 2148 | deliverPending: boolean, |
| 2149 | ): Promise<void> { |
| 2150 | const attempt = operation.queue |
| 2151 | .catch(() => undefined) |
| 2152 | .then(() => this.advanceStopOperation(sessionId, operation, input, deliverPending)); |
| 2153 | operation.queue = attempt.catch(() => undefined); |
| 2154 | return attempt; |
| 2155 | } |
| 2156 | |
| 2157 | private async advanceStopOperation( |
| 2158 | sessionId: string, |
no test coverage detected