fs2-es


License

License

MIT
GroupId

GroupId

dev.rpeters
ArtifactId

ArtifactId

fs2-es_2.13
Last Version

Last Version

0.3.0
Release Date

Release Date

Type

Type

jar
Description

Description

fs2-es
fs2-es
Project URL

Project URL

https://github.com/sloshy/fs2-es
Project Organization

Project Organization

dev.rpeters
Source Code Management

Source Code Management

https://github.com/sloshy/fs2-es

Download fs2-es_2.13

How to add to project

<!-- https://jarcasting.com/artifacts/dev.rpeters/fs2-es_2.13/ -->
<dependency>
    <groupId>dev.rpeters</groupId>
    <artifactId>fs2-es_2.13</artifactId>
    <version>0.3.0</version>
</dependency>
// https://jarcasting.com/artifacts/dev.rpeters/fs2-es_2.13/
implementation 'dev.rpeters:fs2-es_2.13:0.3.0'
// https://jarcasting.com/artifacts/dev.rpeters/fs2-es_2.13/
implementation ("dev.rpeters:fs2-es_2.13:0.3.0")
'dev.rpeters:fs2-es_2.13:jar:0.3.0'
<dependency org="dev.rpeters" name="fs2-es_2.13" rev="0.3.0">
  <artifact name="fs2-es_2.13" type="jar" />
</dependency>
@Grapes(
@Grab(group='dev.rpeters', module='fs2-es_2.13', version='0.3.0')
)
libraryDependencies += "dev.rpeters" % "fs2-es_2.13" % "0.3.0"
[dev.rpeters/fs2-es_2.13 "0.3.0"]

Dependencies

compile (3)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.13.2
co.fs2 : fs2-core_2.13 jar 2.4.2
io.chrisdavenport : agitation_2.13 jar 0.2.0

test (2)

Group / Artifact Type Version
org.typelevel : cats-effect-laws_2.13 jar 2.1.3
org.scalameta : munit-scalacheck_2.13 jar 0.7.9

Project Modules

There are no modules declared in this project.

FS2-ES

Sonatype Nexus (Releases) Gitter

This is a small library to encode event-sourcing patterns using FS2, a streaming library in Scala. The library is polymorphic using Cats Effect, so you can use it with any effect type you want that implements cats.effect.Concurrent.

To use, add the library to your build.sbt like so:

libraryDependencies += "dev.rpeters" %% "fs2-es" % "<latest-version>"
libraryDependencies += "dev.rpeters" %% "fs2-es-testing" % "<latest-version>" //Test module

Currently Scala 2.12 and 2.13 are both supported. Project is built for Scala JVM and ScalaJS 1.4+.

Features

This library has three core focuses:

  • State Management - Use "EventState" to model event-driven state that is safe, concurrent, and with no boilerplate.
  • Event Sourcing - Manage entities using event sourcing patterns with "EventStateCache", a standard repository interface.
  • Test Utilities - Utilize time-travel debugging features and other goodies to analyze your state as it changes.

Click any of the links above to go to the relevant parts of the documentation on our microsite.

API Docs

Versions

Version
0.3.0
0.2.7
0.2.6
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.2
0.1.1
0.1.0