Documentation
    Preparing search index...
    • Wraps a function with caching behavior

      This decorator caches function results based on arguments and cache options. It respects cache time settings and can be disabled per call.

      Type Parameters

      • T extends (...args: any[]) => Promise<any>

      Parameters

      • fn: T

        Function to wrap with caching behavior

      Returns T

      Wrapped function with caching behavior