DSharpPlus icon indicating copy to clipboard operation
DSharpPlus copied to clipboard

basic caching

Open akiraveliara opened this issue 2 years ago • 3 comments

Implements a wrapper around IMemoryCache, and an abstraction that can be implemented to wrap around any implementation of IDistributedCache, for future use inside the library, such as rest and DSharpPlus.Abstractions

akiraveliara avatar Jul 02 '22 17:07 akiraveliara

Yes, the interfaces can be implemented for any backing storage. Redis, the file system, even a discord channel if you really want

akiraveliara avatar Aug 02 '22 10:08 akiraveliara

@VelvetThePanda any last calls?

akiraveliara avatar Aug 24 '22 18:08 akiraveliara

Hi sorry had to deal with something as I saw the mention for this. I'll take a second passover and point anything out.

VelvetToroyashi avatar Aug 24 '22 19:08 VelvetToroyashi

this should work now, with the added Dispose(); calls.

akiraveliara avatar Sep 27 '22 17:09 akiraveliara