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

refreshable 2.0.0


Group ID:
com.permutive
Artifact ID:
refreshable_2.12
Version:
2.0.0
Version Scheme:
Release Date:
Apr 17, 2024
Licenses:
Files:
Full Scala Version:
2.12.18
Developers:

libraryDependencies += "com.permutive" %% "refreshable" % "2.0.0"

Mill build tool

ivy"com.permutive::refreshable:2.0.0"

Scala CLI

//> using dep "com.permutive::refreshable:2.0.0"

Ammonite REPL

import $ivy.`com.permutive::refreshable:2.0.0`

<dependency>
  <groupId>com.permutive</groupId>
  <artifactId>refreshable_2.12</artifactId>
  <version>2.0.0</version>
</dependency>

compile group: 'com.permutive', name: 'refreshable_2.12', version: '2.0.0'