({ timeout })
| 66555 | timeoutKill(spawned, killSignal, reject); |
| 66556 | }, timeout); |
| 66557 | }); |
| 66558 | const safeSpawnedPromise = spawnedPromise.finally(() => { |
| 66559 | clearTimeout(timeoutId); |
| 66560 | }); |
| 66561 | return Promise.race([timeoutPromise, safeSpawnedPromise]); |
| 66562 | }; |
| 66563 | var validateTimeout = ({ timeout }) => { |
| 66564 | if (timeout !== void 0 && (!Number.isFinite(timeout) || timeout < 0)) { |