WorkerDsl

orchescala.worker.WorkerDsl
trait WorkerDsl[In <: Product, Out <: Product]

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait CustomWorkerDsl[In, Out]
trait InitWorkerDsl[In, Out, InitIn, InConfig]
trait ServiceWorkerDsl[In, Out, ServiceIn, ServiceOut]

Members list

Value members

Abstract methods

def worker: Worker[In, Out, _]

Concrete methods

protected def errorHandled(error: WorkerError, handledErrors: Seq[String]): Boolean
protected def filteredOutput(outputVariables: Seq[String], allOutputs: Map[String, Any]): Map[String, Any]
protected def regexMatchesAll(errorHandled: Boolean, error: WorkerError, regexHandledErrors: Seq[String]): Boolean
def runWorkFromWorker(in: In)(using EngineRunContext): ZIO[SttpClientBackend, WorkerError, Out | NoOutput]
def timeout: Duration
def topic: String

Extensions

Extensions

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