(name)
| 205 | |
| 206 | class Channel { |
| 207 | constructor(name) { |
| 208 | this._subscribers = undefined; |
| 209 | this._stores = undefined; |
| 210 | this.name = name; |
| 211 | if (typeof name === 'string') { |
| 212 | this._index = dc_binding.getOrCreateChannelIndex(name); |
| 213 | } |
| 214 | |
| 215 | channels.set(name, this); |
| 216 | } |
| 217 | |
| 218 | static [SymbolHasInstance](instance) { |
| 219 | const prototype = ObjectGetPrototypeOf(instance); |