redis-smq
Version:
A simple high-performance Redis message queue for Node.js.
13 lines • 593 B
TypeScript
import { ICallback } from 'redis-smq-common';
import { RedisClient } from '../../common/redis-client/redis-client.js';
import { IQueueParams } from '../queue/index.js';
export declare class Namespace {
protected logger: import("redis-smq-common").ILogger;
protected redisClient: RedisClient;
constructor();
getNamespaces(cb: ICallback<string[]>): void;
getNamespaceQueues(namespace: string, cb: ICallback<IQueueParams[]>): void;
delete(namespace: string, cb: ICallback<void>): void;
shutdown: (cb: ICallback<void>) => void;
}
//# sourceMappingURL=namespace.d.ts.map