This is the collection of transaction methods within the Store
interface. There is only one method, transaction
.
transaction
The transaction
method takes a function that makes multiple mutations to the store, buffering all calls to the relevant listeners until it completes.