Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
method Deno.AtomicOperation.prototype.check

Add to the operation a check that ensures that the versionstamp of the key-value pair in the KV store matches the given versionstamp. If the check fails, the entire operation will fail and no mutations will be performed during the commit.