• Builds a destination from one of three sources (in the given order):

    • from the environment variable "destinations".
    • from service bindings.
    • from the destination service.

    If you want to get a destination only from a specific source, use the corresponding function directly (getDestinationFromEnvByName, destinationForServiceBinding, getDestinationFromDestinationService).

    Returns

    A promise returning the requested destination on success.

    Parameters

    Returns Promise<Destination | null>

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