Introduces a key-value storage system and a global key-value store to our project.
The GlobalStorage class is added, which provides a Redis-like implementation to store key-value pairs. It includes methods to set values for keys, retrieve values, check for key existence, and delete key-value pairs. Additionally, it emits signals when values are changed or keys are deleted.
The GlobalSignal class is updated to include methods for adding listeners, removing listeners, and triggering signals for specific keys.
These changes improve the project by providing a convenient and efficient way to store and retrieve data throughout the application. The key-value storage system allows for easy data management and communication between different parts of the project.
Introduces a key-value storage system and a global key-value store to our project.
The
GlobalStorage
class is added, which provides a Redis-like implementation to store key-value pairs. It includes methods to set values for keys, retrieve values, check for key existence, and delete key-value pairs. Additionally, it emits signals when values are changed or keys are deleted.The
GlobalSignal
class is updated to include methods for adding listeners, removing listeners, and triggering signals for specific keys.These changes improve the project by providing a convenient and efficient way to store and retrieve data throughout the application. The key-value storage system allows for easy data management and communication between different parts of the project.