-
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
featureNew feature or requestNew feature or request
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 eventsUnresolved questions
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
featureNew feature or requestNew feature or request