(options?: ReloadSessionOptions)
| 72 | } |
| 73 | |
| 74 | async reloadSession(options?: ReloadSessionOptions): Promise<ResumedSessionSummary> { |
| 75 | this.ensureOpen(); |
| 76 | const summary = await this.rpc.reloadSession({ |
| 77 | sessionId: this.id, |
| 78 | forcePluginSessionStartReminder: options?.forcePluginSessionStartReminder, |
| 79 | }); |
| 80 | this.summary = summary; |
| 81 | this.resumeState = resumeStateFromSummary(summary); |
| 82 | return summary; |
| 83 | } |
| 84 | |
| 85 | onEvent(listener: (event: Event) => void): Unsubscribe { |
| 86 | this.ensureOpen(); |
no test coverage detected