@addapptables/microservice
Version:
addapptables microservice
23 lines • 626 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ManagerAdapterBus = void 0;
class ManagerAdapterBus {
constructor(prototype) {
this.prototype = prototype;
}
static getInstance(prototype) {
return new ManagerAdapterBus(prototype);
}
withConfig(config) {
this.adapterConfig = config;
return this;
}
build() {
return {
adapterPrototype: this.prototype,
adapterConfig: this.adapterConfig
};
}
}
exports.ManagerAdapterBus = ManagerAdapterBus;
//# sourceMappingURL=manager-adapter-bus.js.map