package Ġru . ot us . op inion . cor . dsl Ċ Ċ import Ġru . ot us . op inion . cor . Parallel Runner Ċ import Ġru . ot us . op inion . cor . Sequential Runner Ċ import Ġru . ot us . op inion . cor . Worker Ċ import Ġru . ot us . op inion . cor . dsl . builders . Chain Builder Ċ import Ġru . ot us . op inion . cor . dsl . builders . Worker Builder Ċ Ċ /** Ċ Ġ* ĠDSL Ġfunctions Ġavailable Ġon Ġtop Ġlevel Ġand Ġused Ġto Ġstart Ġbuilding Ġa Ġ[ Worker ]. Ċ Ġ*/ Ċ Ċ fun Ġ< T > Ġworker ( initializer : ĠWorker Builder < T >. () Ġ-> ĠUnit ): ĠWorker < T > Ġ= ĊĠĠĠ ĠWorker Builder < T >(). apply ( initializer ). build () ĊĊ Ċ fun Ġ< T > Ġparallel ( initializer : ĠChain Builder < T >. () Ġ-> ĠUnit ): ĠWorker < T > Ġ= ĊĠĠĠ ĠChain Builder ( Parallel Runner < T >()) Ġ. apply ( initializer ). build () Ċ Ċ fun Ġ< T > Ġchain ( initializer : ĠChain Builder < T >. () Ġ-> ĠUnit ): ĠWorker < T > Ġ= ĊĠĠĠ ĠChain Builder ( Sequential Runner < T > ()). apply ( initializer ). build () ĊĊ