PipelineActions (Search Engine)

This is for:

Developer

The pipeline action creators.

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.