28 lines
410 B
Markdown
28 lines
410 B
Markdown
|
|
# Source.repeat
|
||
|
|
|
||
|
|
Stream a single object repeatedly
|
||
|
|
|
||
|
|
@ref[Source stages](../index.md#source-stages)
|
||
|
|
|
||
|
|
@@@div { .group-scala }
|
||
|
|
|
||
|
|
## Signature
|
||
|
|
|
||
|
|
@@signature [Source.scala]($akka$/akka-stream/src/main/scala/akka/stream/scaladsl/Source.scala) { #repeat }
|
||
|
|
|
||
|
|
@@@
|
||
|
|
|
||
|
|
## Description
|
||
|
|
|
||
|
|
Stream a single object repeatedly
|
||
|
|
|
||
|
|
|
||
|
|
@@@div { .callout }
|
||
|
|
|
||
|
|
**emits** the same value repeatedly when there is demand
|
||
|
|
|
||
|
|
**completes** never
|
||
|
|
|
||
|
|
@@@
|
||
|
|
|