Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "frontend-packages/cookie-consent-web-client/src/predecision/dynamicRequest"

Index

Functions

Const preDecisionGatewayDynamicRequest

  • preDecisionGatewayDynamicRequest(request: () => Promise<{ predecision: false | PreDecisionGatewayResult }>, timeout?: number, active?: boolean): (Anonymous function)
  • Dynamically allow to get a predecision with a extra request to an external API. If your server does not respond within a given timeout or with an error, it automatically continues with the predecisions. Otherwise, the predecision of the response is used.

    Parameters

    Returns (Anonymous function)

Generated using TypeDoc