Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/redis/node-redis
/ cas-cad-digest.js
File
cas-cad-digest.js
examples/cas-cad-digest.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
// Atomic compare-and-set (CAS) and compare-and-delete (CAD) using digests
2
// for single-key optimistic concurrency control.
3
// Requires Redis 8.4+ and the @node-rs/xxhash package.
4
Callers
nothing calls this directly
Calls
6
createClient
Function · 0.90
digest
Function · 0.85
log
Method · 0.80
connect
Method · 0.45
set
Method · 0.45
close
Method · 0.45
Tested by
no test coverage detected