From 9f9ccaa64d5c0102a4eb7925488d048115ca8f3e Mon Sep 17 00:00:00 2001 From: ChrisLovering Date: Mon, 18 Mar 2024 10:37:38 +0000 Subject: Deploying to docs from @ python-discord/bot-core@9a497193db7cca2d64cd99251f34b83bec2d9137 🚀 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main/output/pydis_core.utils.caching.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'main/output/pydis_core.utils.caching.html') diff --git a/main/output/pydis_core.utils.caching.html b/main/output/pydis_core.utils.caching.html index 96d213dc..4de67acf 100644 --- a/main/output/pydis_core.utils.caching.html +++ b/main/output/pydis_core.utils.caching.html @@ -10,9 +10,9 @@ - - + + @@ -375,14 +375,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:
@@ -399,7 +399,7 @@
-__init__(max_size=128)[source]#
+__init__(max_size=128)[source]#

Initialise a new AsyncCache instance.

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

Clear cache instance.

Return type:
-- cgit v1.2.3