* Called after a listener is added. Does nothing here; subclasses override it, e.g. to start * tracking what they observe once the first listener subscribes.
()
| 52 | * tracking what they observe once the first listener subscribes. |
| 53 | */ |
| 54 | protected onSubscribe(): void { |
| 55 | // Do nothing |
| 56 | } |
| 57 | |
| 58 | /** |
| 59 | * Called after a listener is removed. Does nothing here; subclasses override it, e.g. to clean up |