* Start listening events from the context
()
| 102 | * Start listening events from the context |
| 103 | */ |
| 104 | open() { |
| 105 | debug('Start listening on changes of context %s', this.context.name); |
| 106 | if (this.context.isSubscribed(this)) { |
| 107 | return this._subscription; |
| 108 | } |
| 109 | this._subscription = this.context.subscribe(this); |
| 110 | return this._subscription; |
| 111 | } |
| 112 | |
| 113 | /** |
| 114 | * Stop listening events from the context |
no test coverage detected