@u4/adbkit
Version:
A Typescript client for the Android Debug Bridge.
10 lines • 333 B
JavaScript
import Command from '../../command.js';
export default class WaitForDeviceCommand extends Command {
async execute(serial) {
await this._send(`host-serial:${serial}:wait-for-any-device`);
await this.readOKAY();
await this.readOKAY();
return serial;
}
}
//# sourceMappingURL=waitfordevice.js.map