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


Group ID:
com.permutive
Artifact ID:
refreshable_2.12
Version:
1.1.0
Release Date:
Dec 7, 2022
Licenses:
Files:

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

Mill build tool

ivy"com.permutive::refreshable:1.1.0"

Scala CLI

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

Ammonite REPL

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

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

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