MCPcopy Index your code
hub / github.com/redis/node-redis / #handleDecodedValue

Method #handleDecodedValue

packages/client/lib/RESP/decoder.ts:210–218  ·  view source on GitHub ↗
(cb, value)

Source from the content-addressed store, hash-verified

208 }
209
210 #handleDecodedValue(cb, value) {
211 if (typeof value === 'function') {
212 this.#next = this.#continueDecodeValue.bind(this, cb, value);
213 return true;
214 }
215
216 cb(value);
217 return false;
218 }
219
220 #continueDecodeValue(cb, next, chunk) {
221 this.#next = undefined;

Callers 2

#decodeTypeValueMethod · 0.95
#continueDecodeValueMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected