MCPcopy
hub / github.com/redis/node-redis / shift

Method shift

packages/client/lib/sentinel/wait-queue.ts:17–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15 }
16
17 shift() {
18 return this.#list.shift();
19 }
20
21 wait() {
22 return new Promise<T>(resolve => this.#queue.push(resolve));

Callers 3

getClientLeaseMethod · 0.45
pushMethod · 0.45
handleMessageMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected