janstenpickle / hotswap-ref

Asynchronous concurrent hotswappable references

Version Matrix

HotswapRef

GitHub Workflow Status GitHub release (latest by date) Maven Central Scala Steward badge

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.1"

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.