Skip to content

Commit

Permalink
Reimport
Browse files Browse the repository at this point in the history
  • Loading branch information
jxnu-liguobin committed Dec 28, 2023
1 parent e7c8831 commit 3240851
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 15 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package zio.pekko.cluster

import zio.{ Exit, Queue, Runtime, Unsafe, ZIO }
import zio._

import org.apache.pekko.actor.{ Actor, ActorSystem, Address, PoisonPill, Props }
import org.apache.pekko.actor._
import org.apache.pekko.cluster.{ Cluster => PekkoCluster }
import org.apache.pekko.cluster.ClusterEvent._

Expand Down Expand Up @@ -72,7 +72,7 @@ object Cluster {
initialStateAsEvents: Boolean
) extends Actor {

val initialState: SubscriptionInitialStateMode =
private val initialState: SubscriptionInitialStateMode =
if (initialStateAsEvents) InitialStateAsEvents else InitialStateAsSnapshot
PekkoCluster(context.system).subscribe(self, initialState, classOf[ClusterDomainEvent])

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package zio.pekko.cluster.pubsub

import zio.{ Queue, Task, ZIO }
import zio.pekko.cluster.pubsub.impl.{ PublisherImpl, SubscriberImpl }
import zio._
import zio.pekko.cluster.pubsub.impl._

import org.apache.pekko.actor.{ ActorRef, ActorSystem }
import org.apache.pekko.actor._
import org.apache.pekko.cluster.pubsub.DistributedPubSub

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package zio.pekko.cluster.pubsub.impl

import zio.{ Task, ZIO }
import zio.pekko.cluster.pubsub.{ MessageEnvelope, Publisher }
import zio._
import zio.pekko.cluster.pubsub._

import org.apache.pekko.actor._
import org.apache.pekko.cluster.pubsub.DistributedPubSubMediator.Publish
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package zio.pekko.cluster.pubsub.impl

import zio.{ Exit, Promise, Queue, Runtime, Task, Unsafe, ZIO }
import zio.pekko.cluster.pubsub.{ MessageEnvelope, Subscriber }
import zio._
import zio.pekko.cluster.pubsub._

import org.apache.pekko.actor._
import org.apache.pekko.cluster.pubsub.DistributedPubSubMediator.{ Subscribe, SubscribeAck }
import org.apache.pekko.cluster.pubsub.DistributedPubSubMediator._

import SubscriberImpl.SubscriberActor

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package zio.pekko.cluster

import scala.concurrent.duration.Duration

import zio.{ Ref, Tag, Task, UIO, URIO, ZIO }
import zio._

import org.apache.pekko.actor.ActorContext

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package zio.pekko.cluster.pubsub

import zio.{ ExecutionStrategy, ZIO, ZLayer }
import zio._
import zio.test._
import zio.test.Assertion._
import zio.test.TestEnvironment
import zio.test.ZIOSpecDefault

import com.typesafe.config.{ Config, ConfigFactory }
import com.typesafe.config._

import org.apache.pekko.actor.ActorSystem

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package zio.pekko.cluster.sharding
import scala.language.postfixOps

import zio._
import zio.{ ExecutionStrategy, Promise, UIO, ZIO, ZLayer }
import zio.test._
import zio.test.Assertion._
import zio.test.TestEnvironment
Expand Down

0 comments on commit 3240851

Please sign in to comment.