Closed
Description
There are some caveats regarding snapshots and read/write ordering that are not entirely obvious.
e.g. in the following case:
const promise = db.put(...)
await db.get(...)
await promise
The put will not be visible for following reads until after the put has been completed, i.e. it is not enough to schedule the write for it to be visible in reads, it actually has to be completed first.