The IORedis client for general read/write that has been initialized
The IORedis client for listening to updates from other nodes that has been
The set of options for the behavior of this storage provider initialized, undefined if subscribe/unsubscribe isn't needed.
The key to the value to delete
The value deleted or boolean (value | true is success). A provider is not required to return a value
The key to retrieve
The value if retreiving was successful or null
The keys that are currently available in the provider
This should be called if subscribe/unsubscribe functionality is needed. channel must be set in the constructor.
If subscribing the Redis channel was successful.
The key to set
The value written if successful or null
The number of elements in this storage system
Whenever a key/value changes, the storage provider can notify observers, so that they can react accordingly. This will add the observer until an unsubscribe() is called
The function that will execute when a key/value changes
If subscribing to changes was successful
The function to remove
If unsubscribing to changes was successful
Generated using TypeDoc
A storage provider that uses IORedis. This implemenation uses Redis pub/sub as a method to retrieve updates from other nodes whenever keys change.