Adds the provided value to the cache.
This is used to add events to the cache that have not been posted to the network.
This will do a lookup in the cache to find the event that matches the provided value
and if it is found, it will remove the old event and add the new one.
Removes the event with the provided id from the cache.
This is used to remove events that have been successfully posted to the network.
This will do a lookup in the cache to find the event that matches the provided id.
Removes the event with the provided event from the cache.
This is used to remove events that have been successfully posted to the network.
This will do a lookup in the cache to find the event that matches the provided event.