Server text passed to connect.
Contents of a .creds file, not a path.
KV bucket name, e.g. avenabox.
Key to delete.
Optionalshared: NatsService | nullOpen connection to reuse, such as the page's own. Optional.
true if the key was deleted, false if connecting or deleting failed.
Deletes one key from a KV bucket.
Uses the KV
deleteoperation, which records a delete marker rather than purging the key's history. Errors are logged to the console and reported through the return value instead of being thrown.Uses
sharedwhen it is given and still open, and leaves it open. Otherwise a new connection is opened and always closed before returning.