diff options
Diffstat (limited to 'deps/discord-haskell/docs/cache.md')
| -rw-r--r-- | deps/discord-haskell/docs/cache.md | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/deps/discord-haskell/docs/cache.md b/deps/discord-haskell/docs/cache.md index c3f91b5..5303f88 100644 --- a/deps/discord-haskell/docs/cache.md +++ b/deps/discord-haskell/docs/cache.md @@ -1,7 +1,11 @@ ### Cache -The cache (`readCache`) is currently deprecated. +The cache (`readCache`) is a work in progress. -It's capable of working, but the code to update is not written. +The CurrentUser and Application fields are filled before the onStart handler is called. + +Other fields are not filled in by default. If `RunDiscordOpts.discordEnableCache` is `true` then they will be filled in as the gateay receives events. + +No rest requests are cached (yet, WIP). Current source code is at [Discord.Internal.Gateway.Cache](../src/Discord/Internal/Gateway/Cache.hs) |
