permutive-engineering / refreshable   2.0.0

Apache License 2.0 GitHub

Offers a `Refreshable` type that operates like a cache of size 1 with a background fiber that periodically refreshes the stored value

Scala versions: 3.x 2.13 2.12

Latest version

[![refreshable Scala version support](https://index.scala-lang.org/permutive-engineering/refreshable/refreshable/latest.svg)](https://index.scala-lang.org/permutive-engineering/refreshable/refreshable)

JVM badge

[![refreshable Scala version support](https://index.scala-lang.org/permutive-engineering/refreshable/refreshable/latest-by-scala-version.svg?platform=jvm)](https://index.scala-lang.org/permutive-engineering/refreshable/refreshable)

Scala.js 1.x badge

[![refreshable Scala version support](https://index.scala-lang.org/permutive-engineering/refreshable/refreshable/latest-by-scala-version.svg?platform=sjs1)](https://index.scala-lang.org/permutive-engineering/refreshable/refreshable)