From 246581332da3a685d943a9a97b035fc9ff40b4fb Mon Sep 17 00:00:00 2001 From: HassanAbouelela Date: Tue, 10 May 2022 16:09:38 +0000 Subject: Deploying to docs from @ python-discord/bot-core@5b00eeed6f626a14feb9bbc8fd4bcc9faeaa79c0 🚀 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 f210fec4..6f5d544c 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