redis-messaging-manager
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Pubsub
Manager
constructor
options
redis
Client
server
Events
ToObservables
topic
Maps
consume
create
New
Event
Observable
create
New
Topic
Observable
get
Default
Options
get
Server
Event
Stream
publish
publish
Bulk
unsubscribe
Server
Event
Hierarchy
PubsubManager
Index
Constructors
constructor
Properties
options
redis
Client
server
Events
ToObservables
topic
Maps
Methods
consume
create
New
Event
Observable
create
New
Topic
Observable
get
Default
Options
get
Server
Event
Stream
publish
publish
Bulk
unsubscribe
Constructors
constructor
new
Pubsub
Manager
(
options
?:
Redis.RedisOptions
)
:
PubsubManager
Parameters
Optional
options:
Redis.RedisOptions
Returns
PubsubManager
Properties
Private
options
options
:
Redis.RedisOptions
Private
redis
Client
redis
Client
:
Redis.Redis
Private
server
Events
ToObservables
server
Events
ToObservables
:
Map
<
ServerEvent
,
Observable
<
any
>
>
Private
topic
Maps
topic
Maps
:
Map
<
string
,
Observable
<
any
>
>
Methods
consume
consume
(
topic
:
string
)
:
Observable
<
any
>
Parameters
topic:
string
Returns
Observable
<
any
>
Private
create
New
Event
Observable
create
New
Event
Observable
(
event
:
ServerEvent
)
:
Observable
<
any
>
Parameters
event:
ServerEvent
Returns
Observable
<
any
>
Private
create
New
Topic
Observable
create
New
Topic
Observable
(
topic
:
string
)
:
any
Parameters
topic:
string
Returns
any
Private
get
Default
Options
get
Default
Options
(
)
:
Redis.RedisOptions
Returns
Redis.RedisOptions
get
Server
Event
Stream
get
Server
Event
Stream
(
eventName
:
ServerEvent
)
:
Observable
<
any
>
Parameters
eventName:
ServerEvent
Returns
Observable
<
any
>
publish
publish
(
topic
:
string
, message
:
string
)
:
Promise
<
number
>
Parameters
topic:
string
message:
string
Returns
Promise
<
number
>
publish
Bulk
publish
Bulk
(
topic
:
string
, messagesBulk
:
Array
<
string
>
)
:
Promise
<
any
>
Parameters
topic:
string
messagesBulk:
Array
<
string
>
Returns
Promise
<
any
>
unsubscribe
unsubscribe
(
topic
:
string
)
:
void
Parameters
topic:
string
Returns
void
Generated using
TypeDoc