Javascript – Why is client.isReady returning undefined in my redis client connection
I have the following RedisClient class that connects to a redis server: import { promisify } from 'util'; import { createClient } from 'redis'; class RedisClient { constructor() { this.client = null; } async initialize() { this.client = RedisClient.getRedisClient(); await…