redis-smq
Version:
A high-performance, reliable, and scalable message queue for Node.js.
12 lines • 379 B
JavaScript
import { RedisClientFactory } from 'redis-smq-common';
import { scriptFileMap } from '../scripts.js';
export class RedisClient extends RedisClientFactory {
setupClient(client, cb) {
client.loadScriptFiles(scriptFileMap, (err) => {
if (err)
cb(err);
cb(null, client);
});
}
}
//# sourceMappingURL=redis-client.js.map