Open
Description
Summary
Now that we have ObserverRegistry
, I think it would be possible to have a transaction mechanism:
- all updates would be grouped into a transaction
- updates would be triggered at the end of transaction
This could help better managing the number of updates
Basic Example
// implicit transaction
entityStore.store(xx)
// registry send events
// implicit 2nd transaction
entityStore.store(xx)
// registry send events
// explicit transaction
transaction {
entityStore.store(xx)
entityStore.store(xx)
}
// registry send events
Unresolved questions
No response