- From: Joshua Bell <notifications@github.com>
- Date: Fri, 13 Apr 2018 10:28:29 -0700
- To: w3c/IndexedDB <IndexedDB@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 13 April 2018 17:28:53 UTC
FYI, I sketched out another idea a few years ago - adding an explicit `commit()` method to the transaction that would immediately and permanently deactivate it to prevent further requests from being filed. [gist](https://gist.github.com/inexorabletash/d55a6669a040e92e47c6) - this might be more or less appealing than a distinct mode. The down side is that success/error events are still fired against each request even if the transaction is not activated on their callbacks, and that's still unnecessary overhead in some cases. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/IndexedDB/issues/234#issuecomment-381206217
Received on Friday, 13 April 2018 17:28:53 UTC