!str #16188 Remove value equality of iterable flow

This commit is contained in:
Patrik Nordwall 2014-10-31 08:53:27 +01:00
parent c61d35d68b
commit d3a343579c
7 changed files with 11 additions and 63 deletions

View file

@ -246,7 +246,7 @@ case class ActorBasedFlowMaterializer(override val settings: MaterializerSetting
withDispatcher(settings.dispatcher), actorName)
}
val publisher = new ActorPublisher[Out](impl, equalityValue = None)
val publisher = new ActorPublisher[Out](impl)
impl ! ExposedPublisher(publisher.asInstanceOf[ActorPublisher[Any]])
val subscribers = Vector.tabulate(inputCount)(FanIn.SubInput[In](impl, _))
(subscribers, List(publisher))
@ -261,7 +261,7 @@ case class ActorBasedFlowMaterializer(override val settings: MaterializerSetting
actorOf(Unzip.props(settings).withDispatcher(settings.dispatcher), actorName)
}
val publishers = Vector.tabulate(outputCount)(id new ActorPublisher[Out](impl, equalityValue = None) {
val publishers = Vector.tabulate(outputCount)(id new ActorPublisher[Out](impl) {
override val wakeUpMsg = FanOut.SubstreamSubscribePending(id)
})
impl ! FanOut.ExposedPublishers(publishers.asInstanceOf[immutable.Seq[ActorPublisher[Any]]])