Function wasmcloud_runtime::capability::wrpc::wrpc::keyvalue::store::delete
source ยท pub fn delete<'a, C: Invoke>(
wrpc__: &'a C,
cx__: C::Context,
bucket: &'a str,
key: &'a str,
) -> impl Future<Output = Result<Result<(), Error>>> + Send + 'a
Expand description
Delete the key-value pair associated with the key in the store.
If the key does not exist in the store, it does nothing.
If any other error occurs, it returns an Err(error)
.