room:new #
| Arguments | Type | Description |
|---|---|---|
room | object | Joined room information |
Triggered whenever a new subscription is created.
Pipes cannot listen to that event, only hooks can.
room #
The provided room object has the following properties:
| Properties | Type | Description |
|---|---|---|
index | string | Index name |
collection | string | Collection name |
roomId | string | The new room unique identifier |