Rename RunnableFlow to RunnableGraph
This commit is contained in:
parent
7879a5521b
commit
c7a974dd1e
23 changed files with 102 additions and 102 deletions
|
|
@ -380,13 +380,13 @@ object FlowGraph extends GraphApply {
|
|||
.connect(port, op.inPort)
|
||||
}
|
||||
|
||||
private[stream] def buildRunnable[Mat](): RunnableFlow[Mat] = {
|
||||
private[stream] def buildRunnable[Mat](): RunnableGraph[Mat] = {
|
||||
if (!moduleInProgress.isRunnable) {
|
||||
throw new IllegalArgumentException(
|
||||
"Cannot build the RunnableFlow because there are unconnected ports: " +
|
||||
"Cannot build the RunnableGraph because there are unconnected ports: " +
|
||||
(moduleInProgress.outPorts ++ moduleInProgress.inPorts).mkString(", "))
|
||||
}
|
||||
new RunnableFlow(moduleInProgress.wrap())
|
||||
new RunnableGraph(moduleInProgress.wrap())
|
||||
}
|
||||
|
||||
private[stream] def buildSource[T, Mat](outlet: Outlet[T]): Source[T, Mat] = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue