Add asJava/asScala to RunnableGraph #26245
This commit is contained in:
parent
98a5f24835
commit
d6ae3f1da9
16 changed files with 97 additions and 12 deletions
|
|
@ -194,7 +194,7 @@ final class Source[+Out, +Mat](
|
|||
/**
|
||||
* Converts this Scala DSL element to it's Java DSL counterpart.
|
||||
*/
|
||||
def asJava[JOut >: Out, JMat >: Mat]: javadsl.Source[JOut, JMat] = new javadsl.Source(this)
|
||||
def asJava: javadsl.Source[Out @uncheckedVariance, Mat @uncheckedVariance] = new javadsl.Source(this)
|
||||
|
||||
/**
|
||||
* Combines several sources with fan-in strategy like `Merge` or `Concat` and returns `Source`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue