Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • PubsubManager

Index

Constructors

constructor

Properties

Private options

options: Redis.RedisOptions

Private redisClient

redisClient: Redis.Redis

Private serverEventsToObservables

serverEventsToObservables: Map<ServerEvent, Observable<any>>

Private topicMaps

topicMaps: Map<string, Observable<any>>

Methods

consume

  • consume(topic: string): Observable<any>

Private createNewEventObservable

  • createNewEventObservable(event: ServerEvent): Observable<any>

Private createNewTopicObservable

  • createNewTopicObservable(topic: string): any

Private getDefaultOptions

  • getDefaultOptions(): Redis.RedisOptions

getServerEventStream

  • getServerEventStream(eventName: ServerEvent): Observable<any>

publish

  • publish(topic: string, message: string): Promise<number>

publishBulk

  • publishBulk(topic: string, messagesBulk: Array<string>): Promise<any>

unsubscribe

  • unsubscribe(topic: string): void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc