From df932c10ba91606ca017e4d108f8d1ec6d91c34f Mon Sep 17 00:00:00 2001 From: ChrisLovering Date: Thu, 21 Apr 2022 21:05:06 +0000 Subject: Deploying to docs from @ python-discord/bot-core@21628902bb370d4bd4d83e1320c4dd4f19cfbc35 🚀 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- output/botcore.utils.caching.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'output/botcore.utils.caching.html') diff --git a/output/botcore.utils.caching.html b/output/botcore.utils.caching.html index f2550b6e..a8d9916e 100644 --- a/output/botcore.utils.caching.html +++ b/output/botcore.utils.caching.html @@ -218,14 +218,14 @@

Utilities related to custom caches.

-class AsyncCache(max_size=128)[source]#
+class AsyncCache(max_size=128)[source]#

Bases: object

LRU cache implementation for coroutines.

Once the cache exceeds the maximum size, keys are deleted in FIFO order.

An offset may be optionally provided to be applied to the coroutine’s arguments when creating the cache key.

-__call__(arg_offset=0)[source]#
+__call__(arg_offset=0)[source]#

Decorator for async cache.

Parameters
@@ -241,7 +241,7 @@
-__init__(max_size=128)[source]#
+__init__(max_size=128)[source]#

Initialise a new AsyncCache instance.

Parameters
@@ -251,7 +251,7 @@
-clear()[source]#
+clear()[source]#

Clear cache instance.

Return type
-- cgit v1.2.3