From e3c2cbd10a9eebd2e5e7204c1adcb91038e0a670 Mon Sep 17 00:00:00 2001 From: jb3 Date: Sun, 13 Jul 2025 20:40:33 +0000 Subject: Deploying to docs from @ python-discord/bot-core@7a0f529835ec5f3f09b0924848e0be9f0230d310 🚀 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 eec28d90..59fd3fb5 100644 --- a/main/output/pydis_core.utils.caching.html +++ b/main/output/pydis_core.utils.caching.html @@ -330,6 +330,10 @@ v9.0.0 +
  • + v11.6.0 +
  • +
  • v11.5.1
  • @@ -468,14 +472,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:
    @@ -492,7 +496,7 @@
    -__init__(max_size=128)[source]¶
    +__init__(max_size=128)[source]¶

    Initialise a new AsyncCache instance.

    Parameters:
    @@ -503,7 +507,7 @@
    -clear()[source]¶
    +clear()[source]¶

    Clear cache instance.

    Return type:
    -- cgit v1.2.3