CustomWorkerDsl

orchescala.worker.CustomWorkerDsl
trait CustomWorkerDsl[In <: Product, Out <: Product](using evidence$1: Codec[In], evidence$2: Codec[Out]) extends WorkerDsl[In, Out]

Attributes

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

Members list

Type members

Inherited types

type RunWorkOutput = Either[CustomError, Out]

Attributes

Inherited from:
RunWorkDsl (hidden)

Value members

Abstract methods

protected def customTask: CustomTask[In, Out]

Inherited methods

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
protected def regexMatchesAll(errorHandled: Boolean, error: WorkerError, regexHandledErrors: Seq[String]): Boolean

Attributes

Inherited from:
WorkerDsl
protected def runWork(inputObject: In): Either[CustomError, Out]

Attributes

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

Attributes

Inherited from:
WorkerDsl

Attributes

Inherited from:
WorkerDsl
protected def runWorkZIO(inputObject: In): () ?=> Out

Attributes

Inherited from:
RunWorkDsl (hidden)
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: CustomWorker[In, Out]

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