From 9cd3189ebf1e8016e12719d2808932a6bc997387 Mon Sep 17 00:00:00 2001 From: ChrisLovering Date: Mon, 10 Jul 2023 20:18:31 +0000 Subject: Deploying to docs from @ python-discord/bot-core@4c1060a334301265dd8b620c91a815a5ed72bb34 🚀 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, 8 insertions(+), 4 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 58945f2e..5bbc7530 100644 --- a/main/output/pydis_core.utils.caching.html +++ b/main/output/pydis_core.utils.caching.html @@ -211,6 +211,10 @@ main +
  • + v9.9.2 +
  • +
  • v9.9.1
  • @@ -403,14 +407,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:
    @@ -427,7 +431,7 @@
    -__init__(max_size=128)[source]#
    +__init__(max_size=128)[source]#

    Initialise a new AsyncCache instance.

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

    Clear cache instance.

    Return type:
    -- cgit v1.2.3