(url: string)
| 48 | } |
| 49 | |
| 50 | public Remove(url: string) { |
| 51 | const plugin = this.GetActivePlugin(url); |
| 52 | |
| 53 | if (plugin === null) { |
| 54 | return false; |
| 55 | } |
| 56 | |
| 57 | const pluginObservables = this.pluginStreams.get(plugin.id); |
| 58 | |
| 59 | if (pluginObservables === undefined) { |
| 60 | return false; |
| 61 | } |
| 62 | |
| 63 | return pluginObservables.delete(url); |
| 64 | } |
| 65 | |
| 66 | public Move(url: string, source: number, dest: number): boolean { |
| 67 | const sourcePluginObservables = this.pluginStreams.get(source); |
no test coverage detected