MCPcopy
hub / github.com/redis/node-redis / blocking-list-pop.js

File blocking-list-pop.js

examples/blocking-list-pop.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// This example shows how to use the blocking LPUSH command.
2
3// This code shows how to run with isolation the blPop Command to block the script while waiting for a value to be pushed to the list.
4// The script will be blocked until the LPUSH command is executed.

Callers

nothing calls this directly

Calls 4

createClientPoolFunction · 0.90
logMethod · 0.80
destroyMethod · 0.65
connectMethod · 0.45

Tested by

no test coverage detected