MCPcopy Index your code
hub / github.com/callstack/agent-device / leaseBackendForDevice

Function leaseBackendForDevice

src/cli/commands/connection-runtime.ts:783–787  ·  view source on GitHub ↗
(device: DeviceInfo)

Source from the content-addressed store, hash-verified

781}
782
783function leaseBackendForDevice(device: DeviceInfo): LeaseBackend | undefined {
784 if (isIosFamily(device)) return 'ios-instance';
785 if (device.platform === 'android') return 'android-instance';
786 return undefined;
787}
788
789function assertRequestedConnectionScope(
790 state: RemoteConnectionState,

Callers 1

resolveProxyLeaseStateFunction · 0.85

Calls 1

isIosFamilyFunction · 0.90

Tested by

no test coverage detected