Skip to content

Commit 83b1af2

Browse files
authored
minor
1 parent e0d91a1 commit 83b1af2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ The shared storage worklet invocation methods (`addModule`, `createWorklet`, and
152152
* Options include:
153153
* `withLock`: acquire a lock on the designated resource before executing. See [Locking for modifier methods](#locking-for-modifier-methods) for details.
154154
* `window.sharedStorage.batchUpdate(methods, options)`
155-
* Execute `methods` in order. All updates within a `batchUpdate()` call are executed as a single unit of work, ensuring data consistency.
155+
* Execute `methods` in order. All updates within a `batchUpdate()` call are executed as a single unit of work.
156156
* `methods` is an array of method objects defining the operations to perform. Each object must be one of the following types: `SharedStorageSetMethod`, `SharedStorageAppendMethod`, `SharedStorageDeleteMethod`, or `SharedStorageClearMethod`. Each method object's constructor accepts the same parameters as the corresponding individual method (e.g., `set`, `append`, `delete`, `clear`). Note that the `withLock` option within these methods will be ignored (for transactional behavior).
157157
* Options include:
158158
* `withLock`: acquire a lock on the designated resource before executing. See [Locking for modifier methods](#locking-for-modifier-methods) for details.

0 commit comments

Comments
 (0)