(options: SessionOptions)
| 58 | private closed = false; |
| 59 | |
| 60 | constructor(options: SessionOptions) { |
| 61 | this.id = options.id; |
| 62 | this.workDir = options.workDir; |
| 63 | this.summary = options.summary; |
| 64 | this.resumeState = options.resumeState ?? resumeStateFromSummary(options.summary); |
| 65 | this.rpc = options.rpc; |
| 66 | this.onClose = options.onClose; |
| 67 | } |
| 68 | |
| 69 | getResumeState(): ResumedSessionState | undefined { |
| 70 | this.ensureOpen(); |
nothing calls this directly
no test coverage detected