• Registers a destination in a cache for later usage.

    If a destination with the same key is already in the cache, it is replaced. The key is built using the getDestinationCacheKey method.

    Parameters

    • destination: DestinationWithName

      A destination to add to the destinations cache.

    • Optional options: RegisterDestinationOptions

      Options how to cache the destination.

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

    Returns Promise<void>