Correct minor mistake in StreamRefs.sinkRef scaladoc

This commit is contained in:
Oliver Wickham 2018-11-20 15:23:00 +00:00
parent 1d36879e53
commit b61dbb4e64

View file

@ -23,7 +23,7 @@ object StreamRefs {
/** /**
* A local [[Sink]] which materializes a [[SourceRef]] which can be used by other streams (including remote ones), * A local [[Sink]] which materializes a [[SourceRef]] which can be used by other streams (including remote ones),
* to consume data from this local stream, as if they were attached in the spot of the local Sink directly. * to consume data from this local stream, as if they were attached directly in place of the local Sink.
* *
* Adheres to [[StreamRefAttributes]]. * Adheres to [[StreamRefAttributes]].
* *
@ -34,8 +34,8 @@ object StreamRefs {
Sink.fromGraph(new SinkRefStageImpl[T](OptionVal.None)) Sink.fromGraph(new SinkRefStageImpl[T](OptionVal.None))
/** /**
* A local [[Sink]] which materializes a [[SourceRef]] which can be used by other streams (including remote ones), * A local [[Source]] which materializes a [[SinkRef]] which can be used by other streams (including remote ones),
* to consume data from this local stream, as if they were attached in the spot of the local Sink directly. * to publish data to this local stream, as if they were attached directly in place of the local Source.
* *
* Adheres to [[StreamRefAttributes]]. * Adheres to [[StreamRefAttributes]].
* *