smartstream/dist/index.d.ts
2016-09-25 14:00:16 +02:00

11 lines
265 B
TypeScript

export interface IErrorFunction {
(err: any): number;
}
export declare class Smartstream {
streamArray: any[];
errorFunction: IErrorFunction;
constructor(streamArrayArg: any[]);
onError(errorFunctionArg: IErrorFunction): void;
run(): any;
}