Merge branch 'master' into wip-traversal-oriented-layout-master-patriknw

This commit is contained in:
Patrik Nordwall 2017-03-10 18:16:44 +01:00
commit 3554ad7243
25 changed files with 313 additions and 64 deletions

View file

@ -328,10 +328,8 @@ object Source {
*/
def empty[T]: Source[T, NotUsed] = _empty
private[this] val _empty: Source[Nothing, NotUsed] =
fromGraph(new PublisherSource[Nothing](
EmptyPublisher,
DefaultAttributes.emptySource,
shape("EmptySource")))
Source.fromGraph(EmptySource)
/**
* Create a `Source` which materializes a [[scala.concurrent.Promise]] which controls what element
* will be emitted by the Source.