"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.LiveSyncSocket = void 0;
const net = require("net");
const yok_1 = require("../../common/yok");
class LiveSyncSocket extends net.Socket {
    writeAsync(data) {
        return new Promise((resolve, reject) => {
            const result = this.write(data, () => resolve(result));
        });
    }
}
exports.LiveSyncSocket = LiveSyncSocket;
yok_1.injector.register("LiveSyncSocket", LiveSyncSocket, false);
//# sourceMappingURL=livesync-socket.js.map