| SourceCycleT Method |
Create
SourceTOut, TMat that will continually produce given elements in specified order.
Start a new cycled
SourceTOut, TMat from the given elements. The producer stream of elements
will continue infinitely by repeating the sequence of elements provided by function parameter.
Namespace:
Akka.Streams.Dsl
Assembly:
Akka.Streams (in Akka.Streams.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax public static Source<T, NotUsed> Cycle<T>(
Func<IEnumerator<T>> enumeratorFactory
)
static member Cycle :
enumeratorFactory : Func<IEnumerator<'T>> -> Source<'T, NotUsed>
Parameters
- enumeratorFactory
- Type: SystemFuncIEnumeratorT
TBD
Type Parameters
- T
- TBD
Return Value
Type:
SourceT,
NotUsedTBD
See Also