When making any writes in a transaction, we need events or hooks for:
A key being set, before it is set so values can be injected
After a key is set, before the transaction commits
After a transaction commits, detailing all updates in it
These steps will be pre, *, and post
Write events to distinguish
add
put
delete
I'd like to have events that can distinguish between creating and replacing. This is hard to do, I might now. The only way to do this consistently is to do a get before each put, which is costly.
When making any writes in a transaction, we need events or hooks for:
These steps will be pre, *, and post
Write events to distinguish
I'd like to have events that can distinguish between creating and replacing. This is hard to do, I might now. The only way to do this consistently is to do a get before each put, which is costly.