Highlights
This version refactors the whole RemoteXPC API stack to be fully asyncio.
For CLI users this change is completely transparent (except for being much faster! ⚡️)
For python API users, this means creating and connecting a `RemoteServiceDiscoveryService` clients will now require an active asyncio loop.
The project's README file was updated aswell to reflect this API change:
python
Or you could connect manually to a specific tunnel created by `start-tunnel`
host = 'fded:c26b:3d2f::1'
port = 65177
async with RemoteServiceDiscoveryService((host, port)) as rsd:
you can now use this connection as any other LockdownClient connection
pass
Alternatively, you can use this API not in a context-manager
rsd = RemoteServiceDiscoveryService((host, port))
await rsd.connect()
await rsd.close()
What's Changed
* remotexpc: refactor to use asyncio by doronz88 in https://github.com/doronz88/pymobiledevice3/pull/938
**Full Changelog**: https://github.com/doronz88/pymobiledevice3/compare/v3.4.4...v4.0.0