From 0f5ca262c002cf37a495a38e75ffecc2d6504ef8 Mon Sep 17 00:00:00 2001 From: ChrisLovering Date: Sat, 2 Apr 2022 22:07:29 +0000 Subject: Deploying to docs from @ python-discord/bot-core@3f2543d690a6d733ad42ab36fd5ce42f4516bf9e 🚀 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 d3b30568..e379913c 100644 --- a/output/botcore.utils.caching.html +++ b/output/botcore.utils.caching.html @@ -216,14 +216,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
@@ -239,7 +239,7 @@
-__init__(max_size=128)[source]#
+__init__(max_size=128)[source]#

Initialise a new AsyncCache instance.

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

Clear cache instance.

Return type
-- cgit v1.2.3