()
| 224 | } |
| 225 | |
| 226 | private _dispose(): void { |
| 227 | // Note: `dispose` is only called if a subscription has been initialized before, indicating |
| 228 | // that `this._strategy` is also available. |
| 229 | this._strategy!.dispose(this._subscription!); |
| 230 | this._latestValue = null; |
| 231 | this._subscription = null; |
| 232 | this._obj = null; |
| 233 | } |
| 234 | |
| 235 | private _updateLatestValue(async: any, value: Object): void { |
| 236 | if (async === this._obj) { |
no test coverage detected