UNPKG
pubnub
Version:
beta (4.30.0-beta.0)
latest (12.0.3)
next (4.29.8-rc1)
12.0.3
12.0.2
12.0.1
12.0.0
11.0.2
11.0.1
11.0.0
10.2.9
10.2.8
10.2.7
10.2.6
10.2.5
10.2.4
10.2.3
10.2.2
10.2.1
10.2.0
10.1.0
10.0.0
9.11.0
9.10.0
9.9.0
9.8.4
9.8.3
9.8.1
9.8.0
9.7.0
9.6.2
9.6.1
9.6.0
9.5.2
9.5.1
9.5.0
9.4.0
9.3.2
9.3.1
9.3.0
9.2.0
9.1.0
9.0.0
8.10.0
8.9.1
8.9.0
8.8.1
8.8.0
8.7.1
8.7.0
8.6.0
8.5.0
8.4.1
8.4.0
8.3.2
8.3.1
8.3.0
8.2.10
8.2.9
8.2.8
8.2.7
8.2.6
8.2.5
8.2.4
8.2.3
8.2.2
8.2.1
8.2.0
8.1.0
8.0.1
8.0.0
7.6.3
7.6.2
7.6.1
7.6.0
7.5.0
7.4.5
7.4.4
7.4.3
7.4.2
7.4.1
7.4.0
7.3.3
7.3.2
7.3.1
7.3.0
7.2.3
7.2.2
7.2.1
7.2.0
7.1.2
7.1.1
7.0.1
7.0.0
5.0.1
5.0.0
4.37.0
4.36.0
4.35.0
4.34.2
4.34.1
4.34.0
4.33.1
4.33.0
4.32.1
4.32.0
4.31.0
4.30.1
4.30.0
4.30.0-beta.0
4.29.11
4.29.10
4.29.9
4.29.8
4.29.8-rc1
4.29.7
4.29.6
4.29.5
4.29.4
4.29.3
4.29.2
4.29.1
4.29.0
4.28.4
4.28.3
4.28.2
4.28.1
4.28.0
4.27.6
4.27.5
4.27.4
4.27.3
4.27.2
4.27.1
4.27.0
4.26.1
4.26.0
4.25.2
4.25.1
4.25.0
4.24.6
4.24.5
4.24.4
4.24.3
4.24.2
4.24.1
4.24.0
4.23.0
4.22.0
4.21.7
4.21.6
4.21.5
4.21.2
4.21.1
4.21.0
4.20.3
4.20.3-beta1
4.20.2
4.20.1
4.20.0
4.19.0
4.18.0
4.17.0
4.16.2
4.16.1
4.15.1
4.15.0
4.14.0
4.13.0
4.12.0
4.11.0-beta.3
4.11.0-beta.1
4.10.0
4.9.1
4.9.0
4.8.0
4.7.0
4.6.0
4.5.0
4.4.4
4.4.3
4.4.2
4.4.1
4.4.0
4.3.3
4.3.2
4.3.1
4.3.0
4.2.5
4.2.3
4.2.2
4.2.1
4.2.0
4.1.1
4.1.0
4.0.13
4.0.12
4.0.11
4.0.10
4.0.9
4.0.8
4.0.7
4.0.6
4.0.5
4.0.4
4.0.3
4.0.2
4.0.1
4.0.0
4.0.0-beta1
3.16.5
3.16.4
3.16.3
3.16.1
3.16.0
3.15.2
3.15.1
3.15.0
3.14.7
3.14.6
3.14.5
3.14.4
3.14.3
3.14.2
3.14.1
3.14.0
3.13.0
3.12.0
3.11.0
3.10.3
3.10.2
3.10.0
3.9.2
3.9.1
3.9.0
3.8.0
3.7.23
3.7.22
3.7.21
3.7.20
3.7.19
3.7.18
3.7.17
3.7.16
3.7.15
3.7.14
3.7.13
3.7.12
3.7.11
3.7.10
3.7.9
3.7.8
3.7.7
3.7.6
3.7.5
3.7.4
3.7.0
3.6.8
3.6.7
3.6.6
3.6.5
3.6.4
3.6.3
3.6.2
3.6.1
3.5.48
3.5.47
3.5.45
3.5.43
3.5.4
3.5.3
3.4.4
3.3.1
3.1.9
3.1.8
3.1.7
3.1.6
3.1.5
3.1.4
3.1.3
3.1.2
3.1.1
3.1.0
Publish & Subscribe Real-time Messaging with PubNub
github.com/pubnub/javascript
pubnub/javascript
pubnub
/
src
/
entities
/
channel.ts
16 lines
(14 loc)
•
290 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { Entity }
from
'./entity'
;
/** * First-class objects which provides access to the channel-specific APIs. */
export
class
Channel
extends
Entity
{
/** * Get a unique channel name. * * @returns Channel name. */
get
name
():
string
{
return
this
._nameOrId; } }