MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / fetchSimulatorState

Function fetchSimulatorState

packages/client/src/api/simulators.ts:53–61  ·  view source on GitHub ↗
(
  udid: string,
  options: RequestInit = {},
)

Source from the content-addressed store, hash-verified

51}
52
53export async function fetchSimulatorState(
54 udid: string,
55 options: RequestInit = {},
56): Promise<SimulatorStateResponse> {
57 return apiRequest<SimulatorStateResponse>(
58 `/api/simulators/${encodeURIComponent(udid)}/state`,
59 options,
60 );
61}
62
63export async function fetchAccessibilityTree(
64 udid: string,

Callers 1

loadStateFunction · 0.90

Calls 1

apiRequestFunction · 0.90

Tested by

no test coverage detected