PipelineActions (Search Engine) (Deprecated)
PipelineActions (Search Engine) (Deprecated)
In this article
|
Headless v1 has been deprecated. We recommend using the latest version of the Coveo Headless library. |
The pipeline action creators.
See Dispatch Actions.
Loader Function
loadPipelineActions
Loads the pipeline
reducer and returns possible action creators.
Parameters
-
engine:
CoreEngine
The headless engine.
Returns PipelineActionCreators
: The pipeline action creators.
PipelineActionCreators
setPipeline
Sets the query pipeline.
Parameters
-
pipeline:
string
The query pipeline to set (may be empty).
Returns PayloadAction<string>
: A dispatchable action.