20 lines
719 B
TypeScript
Raw Normal View History

import {bind, Binding} from 'angular2/src/core/di';
2015-08-20 14:28:25 -07:00
import {Promise, PromiseWrapper} from 'angular2/src/core/facade/async';
import {BaseException, WrappedException} from 'angular2/src/core/facade/exceptions';
import {MeasureValues} from './measure_values';
/**
* A reporter reports measure values and the valid sample.
*/
export abstract class Reporter {
static bindTo(delegateToken): Binding[] {
return [bind(Reporter).toFactory((delegate) => delegate, [delegateToken])];
}
reportMeasureValues(values: MeasureValues): Promise<any> { throw new BaseException('NYI'); }
reportSample(completeSample: MeasureValues[], validSample: MeasureValues[]): Promise<any> {
throw new BaseException('NYI');
}
}