Skip to content

Commit

Permalink
improve README
Browse files Browse the repository at this point in the history
  • Loading branch information
t3hnar committed Aug 25, 2020
1 parent 8b75c63 commit 606b6cf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 15 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[![Build Status](https://github.com/evolution-gaming/akka-effect/workflows/CI/badge.svg)](https://github.com/evolution-gaming/akka-effect/actions?query=workflow%3ACI)
[![Coverage Status](https://coveralls.io/repos/evolution-gaming/akka-effect/badge.svg)](https://coveralls.io/r/evolution-gaming/akka-effect)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/bd019acfc1f04f7aae90beee7e59e15d)](https://www.codacy.com/app/evolution-gaming/akka-effect?utm_source=github.com&utm_medium=referral&utm_content=evolution-gaming/akka-effect&utm_campaign=Badge_Grade)
[![Version](https://api.bintray.com/packages/evolutiongaming/maven/akka-effect/images/download.svg)](https://bintray.com/evolutiongaming/maven/akka-effect/_latestVersion)
[![Version](https://api.bintray.com/packages/evolutiongaming/maven/akka-effect-actor/images/download.svg)](https://bintray.com/evolutiongaming/maven/akka-effect/_latestVersion)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellowgreen.svg)](https://opensource.org/licenses/MIT)

This project aims to build a bridge between [akka](https://akka.io) and pure functional code based on [cats-effect](https://typelevel.org/cats-effect)
Expand Down Expand Up @@ -57,9 +57,11 @@ trait Reply[F[_], -A] {
This is what you need to implement instead of familiar `new Actor { ... }`

```scala
trait Receive[F[_], A] {
trait Receive[F[_], -A, B] {

def apply(msg: A, sender: ActorRef): F[Stop]
def apply(msg: A): F[B]

def timeout: F[B]
}
```

Expand Down
13 changes: 1 addition & 12 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ lazy val root = (project in file(".")
testkit,
persistence,
eventsourcing,
`akka-effect-safe-persistence-async`,
cluster,
`cluster-sharding`))

Expand Down Expand Up @@ -118,14 +117,4 @@ lazy val `cluster-sharding` = (project in file("cluster-sharding")
persistence % "test->test;compile->compile")
settings (
libraryDependencies ++= Seq(
Akka.`cluster-sharding`)))

lazy val `akka-effect-safe-persistence-async` = (project in file("modules/safe-persistence-async")
settings (name := "akka-effect-safe-persistence-async")
settings commonSettings
dependsOn eventsourcing % "test->test;compile->compile"
settings (
libraryDependencies ++= Seq(
SafeAkka.actor,
SafeAkka.persistence,
SafeAkka.`persistence-async`)))
Akka.`cluster-sharding`)))

0 comments on commit 606b6cf

Please sign in to comment.