@plotinus/matrix-package-observable-coordinator
Version:
Observable coordinator pattern components using IntrospectableBaseCommunicationComponent and proper presentation architecture
18 lines (17 loc) • 548 B
TypeScript
import { IntrospectableBaseCommunicationComponent } from '@matrix/presentation';
export interface AppState {
coordinatorReady: boolean;
processingStarted: boolean;
systemCompleted: boolean;
completedJobs: string[];
}
export declare class AppComponent extends IntrospectableBaseCommunicationComponent {
static dslTag: string;
onInit(): void;
startExecution(): void;
handleCoordinatorReady(): void;
handleStartProcessing(): void;
handleCoordinatorDone(evt: {
completedJobIds: string[];
}): void;
}