MCPcopy Create free account
hub / github.com/redis/node-redis / #continueDecodeMapLength

Method #continueDecodeMapLength

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

Source from the content-addressed store, hash-verified

901 }
902
903 #continueDecodeMapLength(lengthCb, typeMapping, chunk) {
904 const length = lengthCb(chunk);
905 return typeof length === 'function' ?
906 this.#continueDecodeMapLength.bind(this, length, typeMapping) :
907 this.#decodeMapItems(length, typeMapping, chunk);
908 }
909
910 #decodeMapItems(length, typeMapping, chunk) {
911 switch (typeMapping[RESP_TYPES.MAP]) {

Callers

nothing calls this directly

Calls 1

#decodeMapItemsMethod · 0.95

Tested by

no test coverage detected