@jiminp/tooltool
    Preparing search index...

    Interface CachedFunction<ArgsType, ReturnType>

    A function wrapper returned by cached with caching capabilities.

    interface CachedFunction<ArgsType extends unknown[], ReturnType> {
        clearCache(): void;
        (...args: ArgsType): Promise<ReturnType>;
    }

    Type Parameters

    • ArgsType extends unknown[]

      Tuple of the wrapped function's parameter types.

    • ReturnType

      The resolved type of the wrapped function.

    Index

    Methods

    Methods