(fn)
| 3029 | } |
| 3030 | |
| 3031 | function taskDebounce(fn) { |
| 3032 | var scheduled = false; |
| 3033 | return function () { |
| 3034 | if (!scheduled) { |
| 3035 | scheduled = true; |
| 3036 | setTimeout(function () { |
| 3037 | scheduled = false; |
| 3038 | fn(); |
| 3039 | }, timeoutDuration); |
| 3040 | } |
| 3041 | }; |
| 3042 | } |
| 3043 | |
| 3044 | var supportsMicroTasks = isBrowser && window.Promise; |
| 3045 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…