Describe the feature request
Save toggles at once when Poller stores values to StorageProvider
Background
Currently, the Poller saves toggles to the StorageProvider individually through iteration, which consumes excessive resources. This improvement will optimize the process by implementing batch saving of the toggle array to Storage.
Solution suggestions
Add a new method reset(keyedValues: [String : Toggle]) to StorageProvider protocol
Describe the feature request
Save toggles at once when Poller stores values to StorageProvider
Background
Currently, the Poller saves toggles to the StorageProvider individually through iteration, which consumes excessive resources. This improvement will optimize the process by implementing batch saving of the toggle array to Storage.
Solution suggestions
Add a new method
reset(keyedValues: [String : Toggle])to StorageProvider protocol