()
| 98 | } |
| 99 | |
| 100 | close() { |
| 101 | if (this.isOpen) { |
| 102 | this.isOpen = false; |
| 103 | this.accessor.unregisterCollection(this); |
| 104 | return this.webSocketClient.unsubscribe(this.socketPath, this); |
| 105 | } |
| 106 | return Promise.resolve(); |
| 107 | } |
| 108 | |
| 109 | getRelated<ChildDataType extends BaseClass>( |
| 110 | callback: (parent: DataType) => DataCollection<ChildDataType>) { |
nothing calls this directly
no test coverage detected