setKey
constsetKey:any=addon.setKey
Defined in: index.cts:559
Stores or deletes a value in the shared key/value store.
key
Key to upsert (Buffer, ArrayBuffer, or string).
value
Optional value to store. Pass undefined to delete the key instead.
Returns
Section titled “Returns”The previous value as a Uint8Array when the key existed, or undefined if it did not.