• Preparing search index...
  • The search index is not available
SAP Cloud SDK for JavaScript - v3.26.4
  • SAP Cloud SDK for JavaScript
  • @sap-cloud-sdk/connectivity
  • setDestinationCache

Function setDestinationCache

  • setDestinationCache(cache: DestinationCacheInterface): void

    Sets the custom destination cache instance. Call this method with an instance of DestinationCacheInterface to override the default cache instance set by the SDK.

    NOTE: This function should be called at the beginning before any calls to either getDestination or @sap-cloud-sdk/http-client!executeHttpRequest.

    Parameters

    • cache: DestinationCacheInterface

      An instance of DestinationCacheInterface.

      Copyright Ⓒ 2025 SAP SE or an SAP affiliate company. All rights reserved.

    Returns void

    • Defined in packages/connectivity/dist/scp-cf/destination/destination-cache.d.ts:74

Settings

Member Visibility
SAP Cloud SDK for JavaScript - v3.26.4
  • Loading...