MCPcopy Index your code
hub / github.com/nodejs/node / bindStore

Method bindStore

lib/diagnostics_channel.js:154–161  ·  view source on GitHub ↗
(store, transform)

Source from the content-addressed store, hash-verified

152 }
153
154 bindStore(store, transform) {
155 const replacing = this._stores.has(store);
156 if (!replacing) {
157 channels.incRef(this.name);
158 if (this._index !== undefined) subscriberCounts[this._index]++;
159 }
160 this._stores.set(store, transform);
161 }
162
163 unbindStore(store) {
164 if (!this._stores.has(store)) {

Callers

nothing calls this directly

Calls 3

hasMethod · 0.65
incRefMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected