MCPcopy Create free account
hub / github.com/PleasureTools/joyBox / Remove

Method Remove

backend/Src/StreamDispatcher.ts:50–64  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

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);

Callers 2

OnliveMethod · 0.80
RemoveObservableMethod · 0.80

Calls 1

GetActivePluginMethod · 0.95

Tested by

no test coverage detected