Growthackr Chrome Extension - v1.0.0
    Preparing search index...
    • Subscribes to changes in the in-memory storage.

      This function is like a subscription service, it allows other parts of the extension to listen for changes in the storage. When the storage changes, it notifies all the subscribers with the updated data.

      Parameters

      • callback: (data: StorageData) => void

        The function to call when storage changes.

      Returns void

      • No return value, but your app will be updated like a news channel!