(fn)
| 1551 | } |
| 1552 | |
| 1553 | function taskDebounce(fn) { |
| 1554 | var scheduled = false; |
| 1555 | return function () { |
| 1556 | if (!scheduled) { |
| 1557 | scheduled = true; |
| 1558 | setTimeout(function () { |
| 1559 | scheduled = false; |
| 1560 | fn(); |
| 1561 | }, timeoutDuration); |
| 1562 | } |
| 1563 | }; |
| 1564 | } |
| 1565 | |
| 1566 | var supportsMicroTasks = isBrowser && window.Promise; |
| 1567 |
nothing calls this directly
no outgoing calls
no test coverage detected