ShardManagerClient

com.devsisters.shardcake.ShardManagerClient
See theShardManagerClient companion trait

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

class ShardManagerClientLive(sttp: SttpBackend[Task, ZioStreams & WebSockets], config: Config) extends ShardManagerClient

Attributes

Supertypes
class Object
trait Matchable
class Any

Value members

Concrete fields

val live: ZLayer[Config & SttpBackend[Task, ZioStreams & WebSockets], Nothing, ShardManagerClientLive]

A layer that returns a client for the Shard Manager API. It requires an sttp backend. If you don't want to use your own backend, simply use liveWithSttp.

A layer that returns a client for the Shard Manager API. It requires an sttp backend. If you don't want to use your own backend, simply use liveWithSttp.

Attributes

val liveWithSttp: ZLayer[Config, Throwable, ShardManagerClient]

A layer that returns a client for the Shard Manager API. It contains its own sttp backend so you don't need to provide one.

A layer that returns a client for the Shard Manager API. It contains its own sttp backend so you don't need to provide one.

Attributes

val local: ZLayer[Config, Nothing, ShardManagerClient]

A layer that mocks the Shard Manager, useful for testing with a single pod.

A layer that mocks the Shard Manager, useful for testing with a single pod.

Attributes