aboutsummaryrefslogtreecommitdiff
path: root/src/cache/cache_update.rs
Commit message (Collapse)AuthorAgeFilesLines
* Make the Cache Update API public (#344)zeyla2018-07-051-1/+99
| | | | | | | | | | | This commit makes the Cache Update API public, allowing users to manually update the cache, as well as implementing the caching API on their own types to work with mutating the cache. The motivation for this indirectly comes from a message cache: if a user has multiple processes that can receive cache updates (either splitting a bot's shards into multiple processes or other processes like web panels or pub/sub channels), then this will allow them to easily mutate the cache and feed all types implementing the CacheUpdate trait into `Cache::update`.
* Revamp `CacheEventsImpl`acdenisSK2017-09-121-0/+7