RedisContext

  
class RedisContext extends BaseRpcContext {
  constructor(args: RedisContextArgs)
  getChannel()

  // inherited from nest/packages/microservices/BaseRpcContext
  constructor(args: T)
  protected args: T
  getArgs(): T
  getArgByIndex(index: number)
}

Constructor


constructor(args: RedisContextArgs)

Parameters

Option Type Description
args RedisContextArgs

Methods

getChannel()

Returns the name of the channel.


getChannel()

Parameters

There are no parameters.