diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e71c041..0b36d11 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: WebAssembly/wit-abi-up-to-date@v22 + - uses: WebAssembly/wit-abi-up-to-date@v25 with: wit-bindgen: '0.32.0' worlds: 'imports watch-service' \ No newline at end of file diff --git a/imports.md b/imports.md index ca31a78..6bd6180 100644 --- a/imports.md +++ b/imports.md @@ -292,9 +292,9 @@ resource.
get-many: funcGet the key-value pairs associated with the keys in the store. It returns a list of -key-value pairs.
-If any of the keys do not exist in the store, it returns a none value for that pair in the
-list.
The returned list contains an entry for every key provided. If a key does not exist in the
+store, its corresponding value will be none.
MAY show an out-of-date value if there are concurrent writes to the store.
If any other error occurs, it returns an Err(error).
set-many: funcSet the values associated with the keys in the store. If the key already exists in the diff --git a/watch-service.md b/watch-service.md index a65115a..d0612a2 100644 --- a/watch-service.md +++ b/watch-service.md @@ -290,9 +290,9 @@ resource.
get-many: funcGet the key-value pairs associated with the keys in the store. It returns a list of -key-value pairs.
-If any of the keys do not exist in the store, it returns a none value for that pair in the
-list.
The returned list contains an entry for every key provided. If a key does not exist in the
+store, its corresponding value will be none.
MAY show an out-of-date value if there are concurrent writes to the store.
If any other error occurs, it returns an Err(error).
set-many: funcSet the values associated with the keys in the store. If the key already exists in the
diff --git a/wit/batch.wit b/wit/batch.wit
index 70c05fe..ed7f6dd 100644
--- a/wit/batch.wit
+++ b/wit/batch.wit
@@ -21,15 +21,15 @@ interface batch {
use store.{bucket, error};
/// Get the key-value pairs associated with the keys in the store. It returns a list of
- /// key-value pairs.
+ /// key-value pairs, one for each key requested.
///
- /// If any of the keys do not exist in the store, it returns a `none` value for that pair in the
- /// list.
+ /// The returned list contains an entry for every key provided. If a key does not exist in the
+ /// store, its corresponding value will be `none`.
///
/// MAY show an out-of-date value if there are concurrent writes to the store.
///
/// If any other error occurs, it returns an `Err(error)`.
- get-many: func(bucket: borrow>>>, error>;
+ get-many: func(bucket: borrow
>>>, error>;
/// Set the values associated with the keys in the store. If the key already exists in the
/// store, it overwrites the value.