johny-cache
Version:
Easy distributed caching for Node.js
18 lines • 651 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.RedisPubSubService = void 0;
const graphql_redis_subscriptions_1 = require("graphql-redis-subscriptions");
class RedisPubSubService extends graphql_redis_subscriptions_1.RedisPubSub {
constructor(redisConfig) {
super({
connection: {
host: redisConfig.host,
port: redisConfig.port,
username: redisConfig.username,
password: redisConfig.password,
},
});
}
}
exports.RedisPubSubService = RedisPubSubService;
//# sourceMappingURL=redis-pub-sub.service.js.map