MCPcopy Index your code
hub / github.com/buildbot/buildbot / close

Method close

www/data-module/src/data/DataCollection.ts:100–107  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

unregisterCollectionMethod · 0.65
unsubscribeMethod · 0.45
resolveMethod · 0.45

Tested by

no test coverage detected