PipelineContext

interface PipelineContext<TSubject : Any, TContext : Any> : CoroutineScope

Represents running execution of a 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

Properties

Link copied to clipboard
abstract val context: TContext

Object representing context in which pipeline executes

Link copied to clipboard
abstract val coroutineContext: CoroutineContext
Link copied to clipboard
abstract val subject: TSubject

Subject of this pipeline execution that goes along the pipeline