comparison src/app/feature-extraction-menu/feature-extraction-menu.component.ts @ 51:8619f25ff52a

Communicate new features being extracted via subscriptions to the stream in FeatureExtractionService.
author Lucas Thompson <dev@lucas.im>
date Tue, 06 Dec 2016 14:19:03 +0000
parents af0b4b05311c
children 2c3fe51ad1f0
comparison
equal deleted inserted replaced
50:f31b14e2132e 51:8619f25ff52a
31 extractors: Iterable<ExtractorOutputInfo>; 31 extractors: Iterable<ExtractorOutputInfo>;
32 32
33 constructor(private piperService: FeatureExtractionService) { 33 constructor(private piperService: FeatureExtractionService) {
34 this.extractorsMap = new Map(); 34 this.extractorsMap = new Map();
35 this.extractors = []; 35 this.extractors = [];
36 this.requestOutput = new EventEmitter(); 36 this.requestOutput = new EventEmitter<ExtractorOutputInfo>();
37 this.isDisabled = true; 37 this.isDisabled = true;
38 } 38 }
39 39
40 ngOnInit() { 40 ngOnInit() {
41 this.piperService.list().then(available => { 41 this.piperService.list().then(available => {