pubnub
Version:
Publish & Subscribe Real-time Messaging with PubNub
19 lines (18 loc) • 434 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Channel = void 0;
const entity_1 = require("./entity");
/**
* First-class objects which provides access to the channel-specific APIs.
*/
class Channel extends entity_1.Entity {
/**
* Get a unique channel name.
*
* @returns Channel name.
*/
get name() {
return this._nameOrId;
}
}
exports.Channel = Channel;