THIS IS ARCHIVED DOCUMENTATION
SearchHubActions (Search Engine) (Deprecated)
SearchHubActions (Search Engine) (Deprecated)
In this article
In this article
The search hub action creators.
See Dispatch Actions.
Loader Function
loadSearchHubActions
Loads the searchHub
reducer and returns possible action creators.
Parameters
-
engine:
CoreEngine
The headless engine.
Returns SearchHubActionCreators
: The search hub action creators.
SearchHubActionCreators
setSearchHub
Sets the search hub.
Parameters
-
searchHub:
string
The new search hub (may be empty).
Returns PayloadAction<string>
: A dispatchable action.