@mdf.js/service-registry
Version:
MMS - API - Service Registry
17 lines • 655 B
TypeScript
/**
* 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.
*/
import { Layer } from '@mdf.js/core';
import { Crash } from '@mdf.js/crash';
import EventEmitter from 'events';
export declare class OurComponent extends EventEmitter implements Layer.App.Component {
name: string;
error?: (Crash | Error) | undefined;
componentId: string;
constructor(name: string, error?: (Crash | Error) | undefined);
emitError(error: Crash | Error): void;
}
//# sourceMappingURL=Error.assets.d.ts.map