MCPcopy
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

createClientFunction · 0.90
digestFunction · 0.85
logMethod · 0.80
connectMethod · 0.45
setMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected