GitHunt
JA

janstenpickle/hotswap-ref

Asynchronous concurrent hotswappable references

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.

Contributors

Created May 26, 2021
Updated August 19, 2024