From 0a068679f4c82a66c514c69ab1a7a569a736ed0f Mon Sep 17 00:00:00 2001 From: HassanAbouelela Date: Mon, 12 Dec 2022 18:11:20 +0000 Subject: Deploying to docs from @ python-discord/bot-core@9c728dff2351a0170b372fec76e2b5e15f8846f3 🚀 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main/output/pydis_core.utils.caching.html | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 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 affea01d..44c86abd 100644 --- a/main/output/pydis_core.utils.caching.html +++ b/main/output/pydis_core.utils.caching.html @@ -5,14 +5,14 @@ - - caching - Pydis Core Latest (9.1.1) + + caching - Pydis Core Latest (9.2.0) - + - + @@ -127,7 +127,7 @@
-
Pydis Core Latest (9.1.1)
+
Pydis Core Latest (9.2.0)
@@ -153,10 +153,10 @@
- Pydis Core Latest (9.1.1) + Pydis Core Latest (9.2.0) @@ -209,6 +209,10 @@ main +
  • + v9.1.1 +
  • +
  • v9.0.0
  • @@ -353,14 +357,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:
    @@ -377,7 +381,7 @@
    -__init__(max_size=128)[source]#
    +__init__(max_size=128)[source]#

    Initialise a new AsyncCache instance.

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

    Clear cache instance.

    Return type:
    @@ -438,9 +442,7 @@
    -
    - -
    +
    -- cgit v1.2.3