(ms: number)
| 289 | }); |
| 290 | |
| 291 | function blockIO(ms: number) { |
| 292 | const start = Date.now(); |
| 293 | while (Date.now() - start < ms); |
| 294 | } |
| 295 | |
| 296 | function createRunner(timeMatcher: TimeMatcher, delay: number, options?: RunnerOptions){ |
| 297 | return new Runner(timeMatcher, async ()=> { |