Cluster.unsubscribe with class parameter, see #2567
This commit is contained in:
parent
ddde23576f
commit
51ff9ce6d1
4 changed files with 22 additions and 7 deletions
|
|
@ -108,7 +108,7 @@ private[cluster] object InternalClusterAction {
|
|||
|
||||
sealed trait SubscriptionMessage
|
||||
case class Subscribe(subscriber: ActorRef, to: Class[_]) extends SubscriptionMessage
|
||||
case class Unsubscribe(subscriber: ActorRef) extends SubscriptionMessage
|
||||
case class Unsubscribe(subscriber: ActorRef, to: Option[Class[_]]) extends SubscriptionMessage
|
||||
/**
|
||||
* @param receiver if `receiver` is defined the event will only be sent to that
|
||||
* actor, otherwise it will be sent to all subscribers via the `eventStream`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue