()
| 162 | |
| 163 | /** Clear the slot without flipping the session flag — for rejected hints. */ |
| 164 | export function clearPendingHint(): void { |
| 165 | if (pendingHint !== null) { |
| 166 | pendingHint = null |
| 167 | notify() |
| 168 | } |
| 169 | } |
| 170 | |
| 171 | /** Flip the once-per-session flag. Call only when a dialog is actually shown. */ |
| 172 | export function markShownThisSession(): void { |
no test coverage detected