(
sessionId: string,
status: SessionStatus,
blockedReason?: SessionBlockedReason,
ts = this.deps.now(),
)
| 5228 | } |
| 5229 | |
| 5230 | private async updateStatus( |
| 5231 | sessionId: string, |
| 5232 | status: SessionStatus, |
| 5233 | blockedReason?: SessionBlockedReason, |
| 5234 | ts = this.deps.now(), |
| 5235 | ): Promise<void> { |
| 5236 | await this.updateHeader(sessionId, buildStatusPatch(status, ts, blockedReason)); |
| 5237 | } |
| 5238 | |
| 5239 | private async updateHeader(sessionId: string, patch: SessionHeaderPatch): Promise<SessionHeader> { |
| 5240 | const next = await this.deps.store.updateHeader(sessionId, patch); |
no test coverage detected