ServiceAdapters

io.cequence.openaiscala.service.adapter.ServiceAdapters
trait ServiceAdapters[S <: CloseableService] extends ServiceBaseAdapters[S]

Attributes

Graph
Supertypes
trait ServiceBaseAdapters[S]
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Value members

Concrete methods

def retry(underlying: S, log: Option[String => Unit], isRetryable: Throwable => Boolean)(implicit ec: ExecutionContext, retrySettings: RetrySettings, scheduler: Scheduler): S

Inherited methods

def log(underlying: S, serviceName: String, log: String => Unit): S

Attributes

Inherited from:
ServiceBaseAdapters
def parallelTakeFirst(underlyings: S*)(implicit materializer: Materializer): S

Attributes

Inherited from:
ServiceBaseAdapters
def preAction(underlying: S, action: () => Future[Unit])(implicit ec: ExecutionContext): S

Attributes

Inherited from:
ServiceBaseAdapters
def randomOrder(underlyings: S*): S

Attributes

Inherited from:
ServiceBaseAdapters
def roundRobin(underlyings: S*): S

Attributes

Inherited from:
ServiceBaseAdapters
protected def wrapAndDelegate(delegate: CloseableServiceWrapper[S]): S

Attributes

Inherited from:
ServiceBaseAdapters