ClientCache

higherkindness.mu.rpc.channel.cache.ClientCache
See theClientCache companion trait
object ClientCache

Attributes

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

Members list

Value members

Concrete methods

def fromResource[Client[_[_]], F[_] : Async, H](getKey: F[H], createClient: H => Resource[F, Client[F]], tryToRemoveUnusedEvery: FiniteDuration, removeUnusedAfter: FiniteDuration): Stream[F, ClientCache[Client, F]]
def impl[Client[_[_]], F[_], H](getKey: F[H], createClient: H => F[(Client[F], F[Unit])], tryToRemoveUnusedEvery: FiniteDuration, removeUnusedAfter: FiniteDuration)(implicit F: Async[F]): Stream[F, ClientCache[Client, F]]