createContentEntitySearchFn

Function

Return a function that holds a closure containing a hub entity specific conversion function. This allows the .next() function to use the function on subsequent calls

Parameters

Parameter Type Default Notes
convertFn Required ItemToEntityFunction<>

Returns

function(v: ISearchOptions) : Promise<ISearchResponse<>>

Function defined in common/src/search/_internal/searchContentEntities.ts:96