Options
All
  • Public
  • Public/Protected
  • All
Menu

Redis Connection

Index

Functions

Const createRedis

  • createRedis(options: CreateRedisOptions): Promise<Cluster | Redis>
  • Create a new redis object

    Parameters

    • options: CreateRedisOptions

      options for create a new redis instance object

    Returns Promise<Cluster | Redis>

Const disconnect

  • disconnect(options?: disconnectOptions): Promise<void>

Const getConnection

  • getConnection(options?: getConnectionOptions): Promise<Cluster | Redis>
  • Default redis instance

    Parameters

    • Optional options: getConnectionOptions

    Returns Promise<Cluster | Redis>

Generated using TypeDoc