SharedClientManagerLive

orchescala.engine.SharedClientManagerLive
final case class SharedClientManagerLive[Client, Error](clientRef: Ref[Option[Client]], semaphore: Semaphore, clientTypeName: String) extends SharedClientManager[Client, Error]

Generic implementation of SharedClientManager using ZIO Ref and Semaphore

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait SharedClientManager[Client, Error]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def getOrCreateClient(clientFactory: ZIO[Any, Error, Client]): ZIO[Any, Error, Client]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product