(fn)
| 761 | * @returns {T} |
| 762 | */ |
| 763 | export function untrack(fn) { |
| 764 | var previous_untracking = untracking; |
| 765 | try { |
| 766 | untracking = true; |
| 767 | return fn(); |
| 768 | } finally { |
| 769 | untracking = previous_untracking; |
| 770 | } |
| 771 | } |
| 772 | |
| 773 | /** |
| 774 | * Possibly traverse an object and read all its properties so that they're all reactive in case this is `$state`. |
no test coverage detected
searching dependent graphs…