PipelineContext

abstract class PipelineContext<TSubject : Any, TContext : Any>(val context: TContext) : CoroutineScope

Represents running execution of a pipeline

Parameters

context

: object representing context in which pipeline executes

Constructors

Link copied to clipboard
constructor(context: TContext)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract var subject: TSubject

Subject of this pipeline execution that goes along the pipeline

Functions

Link copied to clipboard
abstract fun finish()

Finishes current pipeline execution

Link copied to clipboard
abstract suspend fun proceed(): TSubject

Continues execution of the pipeline with the same subject

Link copied to clipboard
abstract suspend fun proceedWith(subject: TSubject): TSubject

Continues execution of the pipeline with the given subject