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

@ -286,7 +286,7 @@ their exposed semantics as well as handled query scenarios.
A read journal plugin must implement `akka.persistence.query.ReadJournalProvider` which
creates instances of `akka.persistence.query.scaladsl.ReadJournal` and
`akka.persistence.query.javaadsl.ReadJournal`. The plugin must implement both the `scaladsl`
`akka.persistence.query.javadsl.ReadJournal`. The plugin must implement both the `scaladsl`
and the `javadsl` @scala[traits]@java[interfaces] because the `akka.stream.scaladsl.Source` and
`akka.stream.javadsl.Source` are different types and even though those types can be converted
to each other it is most convenient for the end user to get access to the Java or Scala `Source` directly.