(immediate?: boolean)
| 665 | let interactionTimeDirty = false |
| 666 | |
| 667 | export function updateLastInteractionTime(immediate?: boolean): void { |
| 668 | if (immediate) { |
| 669 | flushInteractionTime_inner() |
| 670 | } else { |
| 671 | interactionTimeDirty = true |
| 672 | } |
| 673 | } |
| 674 | |
| 675 | /** |
| 676 | * If an interaction was recorded since the last flush, update the timestamp |
no test coverage detected