twilight-cache-inmemory
twilight-cache-inmemory
is an in-process-memory cache for the
[twilight-rs
] ecosystem. It's responsible for processing events and
caching things like guilds, channels, users, and voice states.
Examples
Update a cache with events that come in through the gateway:
use env;
use StreamExt;
use InMemoryCache;
use Shard;
# async
License
All first-party crates are licensed under ISC