UNPKG

@u4/adbkit

Version:

A Typescript client for the Android Debug Bridge.

19 lines 635 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const command_1 = __importDefault(require("../../command")); class RebootCommand extends command_1.default { async execute(type) { if (type) await this._send(`reboot:${type}`); else await this._send('reboot:'); await this.readOKAY(); await this.parser.readAll(); return true; } } exports.default = RebootCommand; //# sourceMappingURL=reboot.js.map