@@ -3,15 +3,19 @@ package app.softnetwork.notification.launch
33import akka .actor .typed .ActorSystem
44import app .softnetwork .notification .api .NotificationServer
55import app .softnetwork .notification .model .Notification
6- import app .softnetwork .notification .persistence .query .{NotificationCommandProcessorStream , Scheduler2NotificationProcessorStream }
6+ import app .softnetwork .notification .persistence .query .{
7+ NotificationCommandProcessorStream ,
8+ Scheduler2NotificationProcessorStream
9+ }
710import app .softnetwork .notification .persistence .typed .NotificationBehavior
811import app .softnetwork .persistence .launch .{PersistenceGuardian , PersistentEntity }
912import app .softnetwork .persistence .query .{EventProcessorStream , SchemaProvider }
1013import com .typesafe .scalalogging .StrictLogging
1114
1215import scala .language .implicitConversions
1316
14- trait NotificationGuardian [T <: Notification ] extends PersistenceGuardian with StrictLogging { _ : SchemaProvider =>
17+ trait NotificationGuardian [T <: Notification ] extends PersistenceGuardian with StrictLogging {
18+ _ : SchemaProvider =>
1519
1620 import app .softnetwork .persistence .launch .PersistenceGuardian ._
1721
@@ -22,7 +26,8 @@ trait NotificationGuardian[T <: Notification] extends PersistenceGuardian with S
2226
2327 /** initialize all entities
2428 */
25- override def entities : ActorSystem [_] => Seq [PersistentEntity [_, _, _, _]] = sys => notificationEntities(sys)
29+ override def entities : ActorSystem [_] => Seq [PersistentEntity [_, _, _, _]] = sys =>
30+ notificationEntities(sys)
2631
2732 def scheduler2NotificationProcessorStream
2833 : ActorSystem [_] => Option [Scheduler2NotificationProcessorStream ] = _ => None
@@ -32,7 +37,7 @@ trait NotificationGuardian[T <: Notification] extends PersistenceGuardian with S
3237
3338 def notificationEventProcessorStreams : ActorSystem [_] => Seq [EventProcessorStream [_]] = sys =>
3439 Seq (scheduler2NotificationProcessorStream(sys)).flatten ++
35- Seq (notificationCommandProcessorStream(sys)).flatten
40+ Seq (notificationCommandProcessorStream(sys)).flatten
3641
3742 /** initialize all event processor streams
3843 */
0 commit comments