DefaultCache

Constructor:

Signature:

def __init__(self, cache_key_fn: Callable[[K], Hashable] | None = None) -> None:
...

Parameters:

  1. cache_key_fn:

    Type
    Callable[[K], Hashable] | None
    Default
    None

Methods:

Attributes:

  1. cache_key_fn:

    Type
    Callable[[K], Hashable]
  2. cache_map:

    Type
    Dict[Hashable, Future[T]]