(callback)
| 2915 | }; |
| 2916 | } |
| 2917 | function unstable_clear(callback) { |
| 2918 | |
| 2919 | var prevInteractions = interactionsRef.current; |
| 2920 | interactionsRef.current = new Set(); |
| 2921 | |
| 2922 | try { |
| 2923 | return callback(); |
| 2924 | } finally { |
| 2925 | interactionsRef.current = prevInteractions; |
| 2926 | } |
| 2927 | } |
| 2928 | function unstable_getCurrent() { |
| 2929 | { |
| 2930 | return interactionsRef.current; |
nothing calls this directly
no test coverage detected