Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
1
import
{ createClient, WatchError } from
'redis'
;
2
3
const
delay = (ms) =>
new
Promise((resolve) => setTimeout(resolve, ms));
4
const
client = createClient();
Callers
nothing calls this directly
Calls
5
createClient
Function · 0.90
restrictFunctionCalls
Function · 0.85
transaction
Function · 0.85
createPool
Method · 0.80
connect
Method · 0.45
Tested by
no test coverage detected