smartstream/dist/index.d.ts

11 lines
265 B
TypeScript
Raw Normal View History

2016-09-25 12:00:16 +00:00
export interface IErrorFunction {
(err: any): number;
}
export declare class Smartstream {
streamArray: any[];
errorFunction: IErrorFunction;
constructor(streamArrayArg: any[]);
onError(errorFunctionArg: IErrorFunction): void;
run(): any;
}