UNPKG

@plotinus/matrix-package-observable-coordinator

Version:

Observable coordinator pattern components using IntrospectableBaseCommunicationComponent and proper presentation architecture

26 lines (25 loc) 1.08 kB
/** * Coordinator Component Entry Point * * This file serves as the component-specific entry point for mcf-component-loader. * It exports everything needed to use the coordinator component. */ export { CoordinatorComponent } from './coordinator.component.js'; export { CoordinatorPresentationElement } from '../../presentation/coordinator-presentation.js'; // Import for type checking import { CoordinatorPresentationElement } from '../../presentation/coordinator-presentation.js'; // Component metadata export const componentInfo = { name: 'coordinator', tag: 'coordinator', type: 'composite', version: '1.0.0', description: 'Central coordinator that manages job distribution and worker orchestration' }; // Auto-registration for browser environments if (typeof window !== 'undefined' && typeof customElements !== 'undefined') { // Register presentation element if not already registered if (!customElements.get('coordinator-presentation')) { customElements.define('coordinator-presentation', CoordinatorPresentationElement); } }