Command context no longer needed
This commit is contained in:
parent
df697175b6
commit
68c4e14dbd
1 changed files with 0 additions and 3 deletions
|
|
@ -46,9 +46,6 @@ private[persistence] final class EventsourcedSetup[C, E, S](
|
|||
) {
|
||||
import akka.actor.typed.scaladsl.adapter._
|
||||
|
||||
// FIXME: do we really need it anymore?
|
||||
def commandContext: ActorContext[C] = context.asInstanceOf[ActorContext[C]]
|
||||
|
||||
val persistence: Persistence = Persistence(context.system.toUntyped)
|
||||
|
||||
val journal: ActorRef = persistence.journalFor(settings.journalPluginId)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue