redis-smq
Version:
A high-performance, reliable, and scalable message queue for Node.js.
12 lines • 498 B
TypeScript
import { Disposable } from '../common/types/disposable.js';
import { ICallback } from 'redis-smq-common';
export declare class ComponentRegistry {
private static readonly components;
static track<T extends object>(instance: T): T;
static untrack(component: Disposable): boolean;
static shutdownComponents(cb: ICallback): void;
static clear(): void;
static get size(): number;
static has(component: Disposable): boolean;
}
//# sourceMappingURL=component-registry.d.ts.map