From 71117376b610d01b0083b09111d19f4be1d44f80 Mon Sep 17 00:00:00 2001 From: HassanAbouelela Date: Sun, 26 Jun 2022 15:29:39 +0000 Subject: Deploying to docs from @ python-discord/bot-core@e00696e8996686686496edfbca51200afe951aee 🚀 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main/output/botcore.utils.caching.html | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'main/output/botcore.utils.caching.html') diff --git a/main/output/botcore.utils.caching.html b/main/output/botcore.utils.caching.html index 8d506684..99829697 100644 --- a/main/output/botcore.utils.caching.html +++ b/main/output/botcore.utils.caching.html @@ -10,9 +10,9 @@ + - @@ -204,6 +204,14 @@ main +
  • + v7.1.3 +
  • + +
  • + v7.1.2 +
  • +
  • v7.1.1
  • @@ -266,14 +274,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
    @@ -289,7 +297,7 @@
    -__init__(max_size=128)[source]#
    +__init__(max_size=128)[source]#

    Initialise a new AsyncCache instance.

    Parameters
    @@ -299,7 +307,7 @@
    -clear()[source]#
    +clear()[source]#

    Clear cache instance.

    Return type
    -- cgit v1.2.3