Package io.ktor.util.pipeline
Types
Represents an execution pipeline for asynchronous extensible computations |
|
Represents running execution of a pipeline |
|
interface PipelineExecutor<R> Represent an object that launches pipeline execution |
|
class PipelinePhase Represents a phase in a pipeline |
Annotations
annotation class ContextDsl DslMarker for pipeline execution context |
Exceptions
class InvalidPhaseException : Throwable An exception about misconfigured phases in a pipeline |
Type Aliases
typealias PipelineInterceptor<TSubject, TContext> = suspend PipelineContext<TSubject, TContext>.(TSubject) -> Unit Represents an interceptor type which is a suspend extension function for context |
Functions
Executes this pipeline |
|
fun <TSubject : Any, TContext : Any> Pipeline<*, TContext>.intercept( Intercepts an untyped pipeline when the subject is of the given type |
|
fun <TSubject : Any, TContext : Any> pipelineExecutorFor( Build a pipeline of the specified interceptors and create executor |