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

Method #continueDecodeSetLength

packages/client/lib/RESP/decoder.ts:820–825  ·  view source on GitHub ↗
(lengthCb, typeMapping, chunk)

Source from the content-addressed store, hash-verified

818 }
819
820 #continueDecodeSetLength(lengthCb, typeMapping, chunk) {
821 const length = lengthCb(chunk);
822 return typeof length === 'function' ?
823 this.#continueDecodeSetLength.bind(this, length, typeMapping) :
824 this.#decodeSetItems(length, typeMapping, chunk);
825 }
826
827 #decodeSetItems(length, typeMapping, chunk) {
828 return typeMapping[RESP_TYPES.SET] === Set ?

Callers

nothing calls this directly

Calls 1

#decodeSetItemsMethod · 0.95

Tested by

no test coverage detected