=str Sugar to make flows between vertices optional
This commit is contained in:
parent
8bfd0c077e
commit
b8c5019185
4 changed files with 51 additions and 3 deletions
|
|
@ -19,7 +19,7 @@ object FlowFrom {
|
|||
* Helper to create `Flow` without [[Source]].
|
||||
* Example usage: `FlowFrom[Int]`
|
||||
*/
|
||||
def apply[T]: ProcessorFlow[T, T] = ProcessorFlow[T, T](Nil)
|
||||
def apply[T]: ProcessorFlow[T, T] = ProcessorFlow.empty[T]
|
||||
|
||||
/**
|
||||
* Helper to create `Flow` with [[Source]] from `Publisher`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue