InitWorkerDsl

orchescala.worker.InitWorkerDsl
trait InitWorkerDsl[In <: Product, Out <: Product, InitIn <: Product, InConfig <: Product](using evidence$1: Codec[In], evidence$2: Codec[Out], evidence$3: Codec[InitIn], evidence$4: Codec[InConfig]) extends WorkerDsl[In, Out]

Attributes

Graph
Supertypes
trait WorkerDsl[In, Out]
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

protected def inOutExample: Process[In, Out, InitIn]

Inherited methods

protected def customInit(in: In): InitIn

Attributes

Inherited from:
InitProcessDsl (hidden)
protected def customInitZIO(inputObject: In): EngineRunContext ?=> IO[InitProcessError, InitIn]

Attributes

Inherited from:
InitProcessDsl (hidden)
protected def errorHandled(error: WorkerError, handledErrors: Seq[String]): Boolean

Attributes

Inherited from:
WorkerDsl
protected def filteredOutput(outputVariables: Seq[String], allOutputs: Map[String, Any]): Map[String, Any]

Attributes

Inherited from:
WorkerDsl
final def initProcessZIO(in: In): EngineRunContext ?=> IO[InitProcessError, Map[String, Any]]

Attributes

Inherited from:
InitProcessDsl (hidden)
protected def regexMatchesAll(errorHandled: Boolean, error: WorkerError, regexHandledErrors: Seq[String]): Boolean

Attributes

Inherited from:
WorkerDsl
def runWorkFromWorker(in: In)(using EngineRunContext): ZIO[SttpClientBackend, WorkerError, Out | NoOutput]

Attributes

Inherited from:
WorkerDsl

Attributes

Inherited from:
WorkerDsl
def timeout: Duration

Attributes

Inherited from:
WorkerDsl
def topic: String

Attributes

Inherited from:
WorkerDsl
def validate(in: In): Either[ValidatorError, In]

Attributes

Inherited from:
ValidateDsl (hidden)

Concrete fields

lazy val worker: InitWorker[In, Out, InitIn]

Extensions

Inherited extensions

extension [T](option: Option[T])
def toEither[E <: WorkerError](error: E): Either[E, T]

Attributes

Inherited from:
WorkerDsl
def toIO[E <: WorkerError](error: E): IO[E, T]

Attributes

Inherited from:
WorkerDsl