Utility built on top of cats-effect
Hotswap
. Decouples the operations of swapping and accessing a
resource, allowing them to be performed within different fibers.
Add the following dependencies to your build.sbt
:
"io.janstenpickle" %% "hotswap-ref" % "0.2.2"
See HotswapRef, HotswapRefConstructor and ConditionalHotswapRefConstructor for Scaladoc notes.
This project supports the Scala Code of Conduct and aims that its channels (mailing list, Discord, github, etc.) to be welcoming environments for everyone.