Package-level declarations

Types

Link copied to clipboard

A specialized pipeline stage that "peeks" at the input without modifying it.

Link copied to clipboard
interface PipelineStage<I, O>

Represents a stage in the document processing pipeline.

Link copied to clipboard
data class SharedPipelineData(val pipeline: Pipeline, val context: MutableContext)

Shared data that is passed between pipeline stages during execution.

Functions

Link copied to clipboard

Utility function to execute a pipeline stage that takes Unit as input.

Link copied to clipboard
infix fun <A, B, C> PipelineStage<A, B>.then(next: PipelineStage<B, C>): PipelineStage<A, C>

Chains two pipeline stages together to form a new pipeline stage.

Link copied to clipboard

Conditionally chains this pipeline stage with next if it is not null.