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 1.0.0


Group ID:
com.permutive
Artifact ID:
refreshable_2.13
Version:
1.0.0
Version Scheme:
Release Date:
Dec 2, 2022
Licenses:
Files:
Full Scala Version:
2.13.10
Developers:

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

Mill build tool

ivy"com.permutive::refreshable:1.0.0"

Scala CLI

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

Ammonite REPL

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

<dependency>
  <groupId>com.permutive</groupId>
  <artifactId>refreshable_2.13</artifactId>
  <version>1.0.0</version>
</dependency>

compile group: 'com.permutive', name: 'refreshable_2.13', version: '1.0.0'