(data: E)
| 710 | } |
| 711 | |
| 712 | private callback(data: E): void { |
| 713 | if (!this._selectorFilter || this._selectorFilter(this._selectors.values(), data)) { |
| 714 | if (this._middleware) { |
| 715 | this._middleware(data, (data) => this._client.sendNotification(this._type, this._createParams(data))); |
| 716 | } else { |
| 717 | this._client.sendNotification(this._type, this._createParams(data)); |
| 718 | } |
| 719 | this.notificationSent(data); |
| 720 | } |
| 721 | } |
| 722 | |
| 723 | protected notificationSent(_data: E): void { |
| 724 | } |
no test coverage detected