The IndexedDB's syncronous API is intented to be used inside a Web worker:
The synchronous API is intended to be used only inside of Web Workers.
But since theres an ansyncronous API, whats the point of using the synchronous API in a web worker. The async API wont affect the UI thread anyway?
Synchronous API is easier to use then async API. Async is not necessary for web worker.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With