Skip to content

Commit

Permalink
get-many move option to value
Browse files Browse the repository at this point in the history
Signed-off-by: David Justice <[email protected]>
  • Loading branch information
devigned committed Nov 4, 2024
1 parent da58d54 commit 071dcdd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion imports.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ list.</p>
</ul>
<h5>Return values</h5>
<ul>
<li><a id="get_many.0"></a> result&lt;list&lt;option&lt;(<code>string</code>, list&lt;<code>u8</code>&gt;)&gt;&gt;, <a href="#error"><a href="#error"><code>error</code></a></a>&gt;</li>
<li><a id="get_many.0"></a> result&lt;list&lt;(<code>string</code>, option&lt;list&lt;<code>u8</code>&gt;&gt;)&gt;, <a href="#error"><a href="#error"><code>error</code></a></a>&gt;</li>
</ul>
<h4><a id="set_many"></a><code>set-many: func</code></h4>
<p>Set the values associated with the keys in the store. If the key already exists in the
Expand Down
2 changes: 1 addition & 1 deletion wit/batch.wit
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ interface batch {
/// 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<bucket>, keys: list<string>) -> result<list<option<tuple<string, list<u8>>>>, error>;
get-many: func(bucket: borrow<bucket>, keys: list<string>) -> result<list<tuple<string, option<list<u8>>>>, error>;

/// Set the values associated with the keys in the store. If the key already exists in the
/// store, it overwrites the value.
Expand Down

0 comments on commit 071dcdd

Please sign in to comment.