Creates a new Hotswap initialized with the specified resource. The Hotswap instance and the initial resource are returned.
Creates a new Hotswap, which represents a cats.effect.kernel.Resource that can be swapped during the lifetime of this Hotswap.