dzhv.io
dzhv.io
DDeno
Created by dzhv.io on 3/16/2024 in #help
Is there a way to write a Deno.AtomicCheck that succeeds for any non-null versionstamp?
You can write a Deno.AtomicCheck that fails if the versionstamp for a key-value pair in the KV store does not match the given one. You can also write a Deno.AtomicCheck with a null versionstamp that fails if any key-value pair exists in the KV store. I need to write a Deno.AtomicCheck that fails if there is no existing key-value pair in the KV store. Is it possible to do this?
3 replies
DDeno
Created by dzhv.io on 1/28/2024 in #help
Is there a feature allowing custom "Allow?" CLI inputs?
For example, if you deno run some program that reads from the file system, you're prompted Deno requests read access to... Allow? and you specify whether or not you want Deno to proceed. Is there any built-in or native feature that would let me cause the same kind of CLI "Allow?" prompt to appear with a custom message?
4 replies