(obj: Subscribable<any> | PromiseLike<any> | EventEmitter<any>)
| 200 | } |
| 201 | |
| 202 | private _subscribe(obj: Subscribable<any> | PromiseLike<any> | EventEmitter<any>): void { |
| 203 | this._obj = obj; |
| 204 | this._strategy = this._selectStrategy(obj); |
| 205 | this._subscription = this._strategy.createSubscription( |
| 206 | obj, |
| 207 | (value: Object) => this._updateLatestValue(obj, value), |
| 208 | (e) => this.applicationErrorHandler(e), |
| 209 | ); |
| 210 | } |
| 211 | |
| 212 | private _selectStrategy( |
| 213 | obj: Subscribable<any> | PromiseLike<any> | EventEmitter<any>, |
no test coverage detected