MCPcopy
hub / github.com/redis/node-redis / transaction-with-watch.js

File transaction-with-watch.js

examples/transaction-with-watch.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { createClient, WatchError } from 'redis';
2
3const delay = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
4const client = createClient();

Callers

nothing calls this directly

Calls 5

createClientFunction · 0.90
restrictFunctionCallsFunction · 0.85
transactionFunction · 0.85
createPoolMethod · 0.80
connectMethod · 0.45

Tested by

no test coverage detected