@u4/adbkit
Version:
A Typescript client for the Android Debug Bridge.
13 lines • 370 B
JavaScript
import Command from '../../command.js';
export default class RebootCommand extends Command {
async execute(type) {
if (type)
await this._send(`reboot:${type}`);
else
await this._send('reboot:');
await this.readOKAY();
await this.parser.readAll();
return true;
}
}
//# sourceMappingURL=reboot.js.map