Modules

klevuhydratepackedfetchresult

2min

KlevuHydratePackedFetchResult(packed, functions): Promise<KlevuResponseObject>

This function hydrates KlevuFetch response object from raw JSON that was fetched on server side. It doesn't do request to Klevu API, but it will do requests that are made with logic of queries. For example all analytical requests are automatically sent from client.

Parameters

Name

Type

Description

packed

Raw JSON from KlevuFetch

functions

Query functions used to create KlevuFetch query in backend.

Returns

KlevuFetch response without making any request to servers

Defined in