Initializes storage state and sets up the change listeners.
This function is like a master builder, setting up the storage system and preparing it for use.
It initializes the current storage state and sets up listeners to detect any changes to the storage.
When changes are detected, it updates the in-memory storage state and notifies all the listeners.
Returns Promise<void>
A promise that resolves when the storage is initialized.
Bas, jab storage ready ho jata hai, tab hi main chill kar sakta hoon!
Initializes storage state and sets up the change listeners.
This function is like a master builder, setting up the storage system and preparing it for use. It initializes the current storage state and sets up listeners to detect any changes to the storage. When changes are detected, it updates the in-memory storage state and notifies all the listeners.