(driver: object)
| 13 | |
| 14 | /** Whether a driver has commands or plugin handlers still in flight. */ |
| 15 | export function hasRunningCommands(driver: object): boolean { |
| 16 | return (activeCommands.get(driver)?.size ?? 0) > 0; |
| 17 | } |
| 18 | |
| 19 | /** |
| 20 | * Suspend the idle timer until the last overlapping command or plugin handler finishes. |
no test coverage detected