Type alias CacheUpdateGetter<Options, Data>

CacheUpdateGetter<Options, Data>: ((customerId, options, response) => CacheUpdate)

Type Parameters

  • Options

  • Data

Type declaration

    • (customerId, options, response): CacheUpdate
    • Generates a collection of cache updates to make for a given request.

      Parameters

      • customerId: string | null
      • options: Options
      • response: Data

      Returns CacheUpdate