I'm working on a PWA application that uses localStorage to store information and be able to capture this data when the application is offline. But I have read in some articles that recommendation and use the indexDB. Can anyone tell me if LocalStorage is asynchronous or synchronous?