You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import {redisUtils} from '../redis/redisUtils';
const usersData = await redisUtils.get('users');
When I use as return Promise.reject(new errors_1.ClientClosedError());
^
ClientClosedError: The client is closed error.
I want to have a file that I create for common use in this way, but what is it that I wrote that is unnecessary, wrong or incorrect?
Or can you please help me with the redisUtils.ts codes in a better way?
Node.js Version
v20.11.1
Redis Server Version
6.2.1
Node Redis Version
No response
Platform
macOS
Logs
No response
The text was updated successfully, but these errors were encountered:
Description
In redisUtils file, I created the following code with redis and util package
but as an example
When I use as return Promise.reject(new errors_1.ClientClosedError());
^
ClientClosedError: The client is closed error.
I want to have a file that I create for common use in this way, but what is it that I wrote that is unnecessary, wrong or incorrect?
Or can you please help me with the redisUtils.ts codes in a better way?
Node.js Version
v20.11.1
Redis Server Version
6.2.1
Node Redis Version
No response
Platform
macOS
Logs
No response
The text was updated successfully, but these errors were encountered: