ResPool
zhttp.clients.ResPool$
object ResPool
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ResPool.type
Members list
Value members
Concrete methods
def makeScoped[R](timeToLiveMs: Int, createResource: () => R, closeResource: R => Unit)(implicit tagged: Tag[R]): ZLayer[Any, Nothing, Service[R]]
def makeScopedZIO[R](timeToLiveMs: Int, createResource: () => ZIO[Any, Exception, R], closeResource: R => ZIO[Any, Exception, Unit])(implicit tagged: Tag[R]): ZLayer[Any, Nothing, Service[R]]
In this article