({ doubleTap, holdMs, jitterPx }: PressSeriesOptions)
| 327 | } |
| 328 | |
| 329 | function validatePressSeriesOptions({ doubleTap, holdMs, jitterPx }: PressSeriesOptions): void { |
| 330 | if (doubleTap && holdMs > 0) { |
| 331 | throw new AppError('INVALID_ARGS', 'double-tap cannot be combined with hold-ms'); |
| 332 | } |
| 333 | if (doubleTap && jitterPx > 0) { |
| 334 | throw new AppError('INVALID_ARGS', 'double-tap cannot be combined with jitter-px'); |
| 335 | } |
| 336 | } |
| 337 | |
| 338 | // Runs an ordered step list as budget-chunked `sequence` runner requests and aggregates the |
| 339 | // chunk responses. Chunks are bounded by BOTH a step-count cap and an estimated wall-clock |
no outgoing calls
no test coverage detected