MCPcopy Create free account
hub / github.com/callstack/agent-device / getFinalSimulatorState

Function getFinalSimulatorState

src/daemon/target-shutdown.ts:58–64  ·  view source on GitHub ↗
(device: DeviceInfo)

Source from the content-addressed store, hash-verified

56}
57
58async function getFinalSimulatorState(device: DeviceInfo): Promise<string | null> {
59 try {
60 return await getSimulatorState(device);
61 } catch {
62 return null;
63 }
64}
65
66async function shutdownAndroidEmulator(device: DeviceInfo): Promise<DeviceTargetShutdownResult> {
67 const result = await runAndroidAdb(device, ['emu', 'kill'], {

Callers 1

shutdownIosSimulatorFunction · 0.85

Calls 1

getSimulatorStateFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…