AsyncLocalStorage is an unencrypted, asynchronous, persistent, key-value storage system that is global to the app in web browser. It should be used instead of LocalStorage.
making localstorage functions in promise does not make it async. it executes on end of event loop. it still blocks. btw localstorage does not write data to storage, it keeps on ram when you write it. After that chrome write it to storage on threadpoll. This library does nothing
making localstorage functions in promise does not make it async. it executes on end of event loop. it still blocks. btw localstorage does not write data to storage, it keeps on ram when you write it. After that chrome write it to storage on threadpoll. This library does nothing