time-events-manager
Version:
View and Manage Javascript's timeout and interval collections
12 lines (11 loc) • 388 B
TypeScript
import { Interval } from './interval.model';
export declare class IntervalCollection {
private _intervalCollection;
add(handler: any, interval?: any, ...args: any[]): any;
remove(id: number): void;
get(index: number): Interval;
getAll(): Interval[];
getById(id: number): Interval;
removeAll(): void;
private _getIntervalIndexById(intervalId);
}