(callback: (thread: Thread) => Promise<T>)
| 529 | } |
| 530 | |
| 531 | _withThread<T>(callback: (thread: Thread) => Promise<T>): Promise<T> { |
| 532 | if (!this._thread) { |
| 533 | throw new ProtocolError(errors.threadNotAvailable()); |
| 534 | } |
| 535 | |
| 536 | return callback(this._thread); |
| 537 | } |
| 538 | |
| 539 | async _refreshStackTrace() { |
| 540 | if (!this._thread) return; |
no outgoing calls
no test coverage detected