Constructor
new RedisFanout(options, logger, handlers)
Parameters:
| Name | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object | normalizeFanout result | |||||||||
logger |
object | ||||||||||
handlers |
object |
Properties
|
Methods
(async) publishApp(appName, data) → {Promise.<void>}
Parameters:
| Name | Type | Description |
|---|---|---|
appName |
string | |
data |
* |
Returns:
- Type
- Promise.<void>
(async) publishRoom(appName, room, data) → {Promise.<void>}
Parameters:
| Name | Type | Description |
|---|---|---|
appName |
string | |
room |
string | |
data |
* |
Returns:
- Type
- Promise.<void>
(async) start() → {Promise.<void>}
Returns:
- Type
- Promise.<void>