(nameOrChannels)
| 352 | |
| 353 | class BoundedChannel { |
| 354 | constructor(nameOrChannels) { |
| 355 | for (let i = 0; i < boundedEvents.length; ++i) { |
| 356 | const eventName = boundedEvents[i]; |
| 357 | ObjectDefineProperty(this, eventName, { |
| 358 | __proto__: null, |
| 359 | value: channelFromMap(nameOrChannels, eventName, 'BoundedChannel'), |
| 360 | }); |
| 361 | } |
| 362 | } |
| 363 | |
| 364 | get hasSubscribers() { |
| 365 | return this.start?.hasSubscribers || |
nothing calls this directly
no test coverage detected