• Preparing search index...
  • The search index is not available
wretch
  • wretch
  • middlewares/throttlingCache
  • throttlingCache

Function throttlingCache

  • throttlingCache(options?): ConfiguredMiddleware & {
        cache: Map<any, any>;
        inflight: Map<any, any>;
        throttling: Set<unknown>;
        cacheResponse(key: any, response: any): void;
    }
  • Parameters

    • Optionaloptions: ThrottlingCacheOptions

    Returns ConfiguredMiddleware & {
        cache: Map<any, any>;
        inflight: Map<any, any>;
        throttling: Set<unknown>;
        cacheResponse(key: any, response: any): void;
    }

    • Defined in src/middlewares/throttlingCache.ts:73

Settings

Member Visibility
wretch
  • Loading...

Generated using TypeDoc