pipeline
Creates a new pipeline using the DSL.
Example:
val myPipeline = pipeline<String, Int>("parser") {
node<String, List<String>>("tokenize") { input ->
input.split(" ")
}
node<List<String>, Int>("count") { tokens ->
tokens.size
}
}Content copied to clipboard
Return
Configured pipeline
Parameters
name
Pipeline identifier
block
DSL configuration block