MCPcopy Create free account
hub / github.com/appium/appium / hasRunningCommands

Function hasRunningCommands

packages/base-driver/lib/basedriver/command-timeout.ts:15–17  ·  view source on GitHub ↗
(driver: object)

Source from the content-addressed store, hash-verified

13
14/** Whether a driver has commands or plugin handlers still in flight. */
15export 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.

Callers 3

executeCommandMethod · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected