(
sessionId: string,
status: SessionStatus,
blockedReason?: SessionBlockedReason,
ts = this.deps.now(),
)
| 3230 | } |
| 3231 | |
| 3232 | private async updateStatus( |
| 3233 | sessionId: string, |
| 3234 | status: SessionStatus, |
| 3235 | blockedReason?: SessionBlockedReason, |
| 3236 | ts = this.deps.now(), |
| 3237 | ): Promise<void> { |
| 3238 | await this.updateHeader(sessionId, buildStatusPatch(status, ts, blockedReason)); |
| 3239 | } |
| 3240 | |
| 3241 | private async updateHeader(sessionId: string, patch: SessionHeaderPatch): Promise<SessionHeader> { |
| 3242 | const next = await this.deps.store.updateHeader(sessionId, patch); |
no test coverage detected