object Hotswap
- Companion
- class
class Object
trait Matchable
class Any
Value members
Concrete methods
def apply[F[_], R](initial: Resource[F, R])(implicit evidence$1: Concurrent[F]): Resource[F, (Hotswap[F, R], R)]
Creates a new Hotswap
initialized with the specified resource.
The Hotswap
instance and the initial resource are returned.
Creates a new Hotswap
initialized with the specified resource.
The Hotswap
instance and the initial resource are returned.