UNPKG

@mdf.js/service-registry

Version:

MMS - API - Service Registry

24 lines 767 B
"use strict"; /** * Copyright 2024 Mytra Control S.L. All rights reserved. * * Use of this source code is governed by an MIT-style license that can be found in the LICENSE file * or at https://opensource.org/licenses/MIT. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.Port = void 0; /** * The Port class is responsible for starting and stopping the cluster communication * and clearing the actual error registries in the master and worker processes. */ class Port { /** * Create a new instance of the Port class. * @param logger - Logger instance for logging error registration and handling. */ constructor(logger) { this.logger = logger; } } exports.Port = Port; //# sourceMappingURL=Port.js.map