box


License

License

GroupId

GroupId

com.gu
ArtifactId

ArtifactId

box_2.12
Last Version

Last Version

0.2.0
Release Date

Release Date

Type

Type

jar
Description

Description

box
box
Project Organization

Project Organization

com.gu
Source Code Management

Source Code Management

https://github.com/guardian/box

Download box_2.12

How to add to project

<!-- https://jarcasting.com/artifacts/com.gu/box_2.12/ -->
<dependency>
    <groupId>com.gu</groupId>
    <artifactId>box_2.12</artifactId>
    <version>0.2.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.gu/box_2.12/
implementation 'com.gu:box_2.12:0.2.0'
// https://jarcasting.com/artifacts/com.gu/box_2.12/
implementation ("com.gu:box_2.12:0.2.0")
'com.gu:box_2.12:jar:0.2.0'
<dependency org="com.gu" name="box_2.12" rev="0.2.0">
  <artifact name="box_2.12" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.gu', module='box_2.12', version='0.2.0')
)
libraryDependencies += "com.gu" % "box_2.12" % "0.2.0"
[com.gu/box_2.12 "0.2.0"]

Dependencies

compile (1)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.12.3

test (1)

Group / Artifact Type Version
org.scalatest : scalatest_2.12 jar 3.0.3

Project Modules

There are no modules declared in this project.

Box

Put something in, get it out again

Box reproduces much of the, now deprecated, akka.Agent API, but does not reproduce the same concurrency model as it is a simple wrapper round AtomicReference.

It has been designed to provide a simple migration path for systems already using Agents that simply use it as a convenient way to share cross-thread state. New applications should probably use AtomicReference or some other concurrency abstraction directly.

com.gu

The Guardian

The source code of the world's leading liberal voice

Versions

Version
0.2.0
0.1.0