2025-04-23 09:34:08 +08:00

18 lines
372 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class AbstractConnector {
constructor() {
this.connecting = false;
}
check(info) {
return true;
}
disconnect() {
this.connecting = false;
if (this.stream) {
this.stream.end();
}
}
}
exports.default = AbstractConnector;