permutive-engineering / refreshable   1.1.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
Scala.js versions: 1.x

refreshable 0.1.0


Group ID:
com.permutive
Artifact ID:
refreshable_2.13
Version:
0.1.0
Release Date:
Nov 15, 2022
Licenses:
Files:

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

Mill build tool

ivy"com.permutive::refreshable:0.1.0"

Scala CLI

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

Ammonite REPL

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

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

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