(ms)
| 673 | } |
| 674 | |
| 675 | function sleep(ms) { |
| 676 | if (activeTiming) activeTiming.sleepMs += ms; |
| 677 | return new Promise((resolve) => setTimeout(resolve, ms)); |
| 678 | } |
| 679 | |
| 680 | function sleepSync(ms) { |
| 681 | if (activeTiming) activeTiming.sleepMs += ms; |
no outgoing calls
no test coverage detected