UNPKG

@push.rocks/lik

Version:

Provides a collection of lightweight helpers and utilities for Node.js projects.

19 lines (18 loc) 463 B
import { ObjectMap } from './classes.objectmap.js'; export declare class LoopTracker<T> { referenceObjectMap: ObjectMap<any>; constructor(); /** * checks and tracks an object * @param objectArg */ checkAndTrack(objectArg: T): boolean; /** * resets the loop tracker, clearing all tracked objects */ reset(): void; /** * destroys the loop tracker and its underlying ObjectMap */ destroy(): void; }