Channels
Channels are globally accessed named contexts that allow users to dynamically group apps, instructing them to work over the same shared data object.
The Channels API enables you to:
- retrieve the names and contexts of all Channels;
- retrieve the current Channel, join and leave Channels, subscribe for the event which fires when the current Channel has changed;
- publish data to other apps on the same Channel and subscribe for Channel updates to react to data published by other apps;
The Channels API is accessible via the io.channels object.