Adds to and toMap to SourceWithContext

This commit is contained in:
Luc Bourlier 2019-02-18 17:47:20 +01:00 committed by Patrik Nordwall
parent c58d348b2a
commit a98daa0d08
5 changed files with 43 additions and 15 deletions

View file

@ -9,7 +9,7 @@ package akka.persistence.query
* It provides the concrete implementations for the Java and Scala APIs.
*
* A read journal plugin must provide implementations for both
* `akka.persistence.query.scaladsl.ReadJournal` and `akka.persistence.query.javaadsl.ReadJournal`.
* `akka.persistence.query.scaladsl.ReadJournal` and `akka.persistence.query.javadsl.ReadJournal`.
* The plugin must implement both the `scaladsl` and the `javadsl` traits because the
* `akka.stream.scaladsl.Source` and `akka.stream.javadsl.Source` are different types
* and even though those types can easily be converted to each other it is most convenient