2018-04-18 11:44:37 +02:00
|
|
|
# combine
|
|
|
|
|
|
|
|
|
|
Combine several sources, using a given strategy such as merge or concat, into one source.
|
|
|
|
|
|
2018-05-29 17:00:48 +09:00
|
|
|
@ref[Source operators](../index.md#source-operators)
|
2018-04-18 11:44:37 +02:00
|
|
|
|
|
|
|
|
@@@div { .group-scala }
|
|
|
|
|
|
|
|
|
|
## Signature
|
|
|
|
|
|
|
|
|
|
@@signature [Source.scala]($akka$/akka-stream/src/main/scala/akka/stream/scaladsl/Source.scala) { #combine }
|
|
|
|
|
|
|
|
|
|
@@@
|
|
|
|
|
|
|
|
|
|
## Description
|
|
|
|
|
|
|
|
|
|
@@@div { .callout }
|
|
|
|
|
|
|
|
|
|
**emits** when there is demand, but depending on the strategy
|
|
|
|
|
|
|
|
|
|
**completes** when all sources has completed
|
|
|
|
|
|
|
|
|
|
@@@
|
|
|
|
|
|
|
|
|
|
|