PipelineContext

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

Represents running execution of a pipeline

Parameters

context

: object representing context in which pipeline executes

Constructors

Link copied to clipboard
fun <TContext : Any> PipelineContext(context: TContext)

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
val context: TContext
Link copied to clipboard
abstract val coroutineContext: CoroutineContext
Link copied to clipboard
abstract var subject: TSubject

Subject of this pipeline execution that goes along the pipeline