devowl-wp
    Preparing search index...
    preDecisionGatewayDynamicRequest: (
        request: () => Promise<
            { predecision: false
            | PreDecisionGatewayResult },
        >,
        timeout?: number,
        active?: boolean,
    ) => PreDecisionGateway = ...

    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.

    Type declaration