interface PipelineContext<TSubject : Any, TContext : Any> : CoroutineScope
Represents running execution of a pipeline
abstract val context: TContext
Object representing context in which pipeline executes |
|
abstract val subject: TSubject
Subject of this pipeline execution that goes along the pipeline |
abstract fun finish(): Unit
Finishes current pipeline execution |
|
abstract suspend fun proceed(): TSubject
Continues execution of the pipeline with the same subject |
|
abstract suspend fun proceedWith(subject: TSubject): TSubject
Continues execution of the pipeline with the given subject |