Source.repeat

Stream a single object repeatedly

Source operators

Signature

def repeat[T](element: T): Source[T, NotUsed]

Description

Stream a single object repeatedly

emits the same value repeatedly when there is demand

completes never

Found an error in this documentation? The source code for this page can be found here. Please feel free to edit and contribute a pull request.