Merge branch 'master' into wip-traversal-oriented-layout-master-patriknw
This commit is contained in:
commit
3554ad7243
25 changed files with 313 additions and 64 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue