From 2385eee8a521aa2a8b8fe834deba4cf7bd15be0d Mon Sep 17 00:00:00 2001 From: HassanAbouelela Date: Tue, 28 Jun 2022 12:20:23 +0000 Subject: Deploying to docs from @ python-discord/bot-core@17faeb4cdd58d174382a04424b3ec2b0332c0ec7 🚀 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main/output/botcore.utils.caching.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'main/output/botcore.utils.caching.html') diff --git a/main/output/botcore.utils.caching.html b/main/output/botcore.utils.caching.html index 34996381..abc052c9 100644 --- a/main/output/botcore.utils.caching.html +++ b/main/output/botcore.utils.caching.html @@ -279,14 +279,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:
@@ -303,7 +303,7 @@
-__init__(max_size=128)[source]#
+__init__(max_size=128)[source]#

Initialise a new AsyncCache instance.

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

Clear cache instance.

Return type:
-- cgit v1.2.3