janstenpickle / hotswap-ref   0.2.2

GitHub

Asynchronous concurrent hotswappable references

Scala versions: 3.x 2.13 2.12

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