Functions
Const createRedis
- createRedis(options: CreateRedisOptions): Promise<Cluster | Redis>
Parameters
options: CreateRedisOptions
Returns Promise<Cluster | Redis>
Const disconnect
- disconnect(options?: disconnectOptions): Promise<void>
Parameters
Optional options: disconnectOptions
Returns Promise<void>
Const getConnection
- getConnection(options?: getConnectionOptions): Promise<Cluster | Redis>
Parameters
Optional options: getConnectionOptions
Returns Promise<Cluster | Redis>
Create a new redis object