(raw: string | undefined)
| 311 | // --------------------------------------------------------------------------- |
| 312 | |
| 313 | function parsePollIntervalMs(raw: string | undefined): number { |
| 314 | const n = parseNumericFlag(raw, { flag: "--poll-interval", min: 1 }); |
| 315 | return n === undefined ? DEFAULT_POLL_INTERVAL_MS : Math.round(n * 1000); |
| 316 | } |
| 317 | |
| 318 | function parseMaxWaitMs(raw: string | undefined): number { |
| 319 | const n = parseNumericFlag(raw, { flag: "--max-wait", min: 0.0001 }); |
no test coverage detected