HotswapRef
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.
Quickstart
Add the following dependencies to your build.sbt
:
"io.janstenpickle" %% "hotswap-ref" % "0.2.2"
Usage
See HotswapRef, HotswapRefConstructor and ConditionalHotswapRefConstructor for Scaladoc notes.
Contributing
This project supports the Scala Code of Conduct and aims that its channels (mailing list, Discord, github, etc.) to be welcoming environments for everyone.