C8Worker

orchescala.worker.c8.C8Worker
trait C8Worker[In <: Product, Out <: Product] extends WorkerDsl[In, Out], JobHandler

Attributes

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

Members list

Type members

Classlikes

case class BusinessKey(businessKey: Option[String])

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object BusinessKey

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Value members

Abstract methods

protected def c8Context: C8Context

Concrete methods

def handle(client: JobClient, job: ActivatedJob): Unit
def run(client: JobClient, job: ActivatedJob): ZIO[SttpClientBackend, Throwable, Unit]

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
def runWorkFromWorker(in: In)(using EngineRunContext): ZIO[SttpClientBackend, WorkerError, Out | NoOutput]

Attributes

Inherited from:
WorkerDsl
def runWorkFromWorkerUnsafe(in: In)(using EngineRunContext): IO[WorkerError, Out]

Attributes

Inherited from:
WorkerDsl
def timeout: Duration

Attributes

Inherited from:
WorkerDsl
def topic: String

Attributes

Inherited from:
WorkerDsl

Inherited and Abstract methods

def worker: Worker[In, Out, _]

Attributes

Inherited from:
WorkerDsl

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