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