← Back to release summary

Support transactional batchUpdate() and disallow batch inner locks

Category
Miscellaneous
Type
New or changed feature
Status
Proposed (Chrome Proposed)
Intent stage
None

Summary

The `sharedStorage.batchUpdate(methods)` API (introduced in https://chromestatus.com/feature/5133950203461632) will now enforce atomicity. This involves treating the entire `batchUpdate()` as a single transaction, rather than executing methods independently. To mitigate deadlock risks associated with granular locking, individual method locks within `batchUpdate()` will be disallowed. Note that the lock for the `batchUpdate()` method itself (if specified) will remain valid.

Standards & signals

Ecosystem

View on chromestatus.com