| SourceUnfoldInfiniteTState, TElem Method |
Namespace:
Akka.Streams.Dsl
Assembly:
Akka.Streams (in Akka.Streams.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax public static Source<TElem, NotUsed> UnfoldInfinite<TState, TElem>(
TState state,
Func<TState, Tuple<TState, TElem>> unfold
)
static member UnfoldInfinite :
state : 'TState *
unfold : Func<'TState, Tuple<'TState, 'TElem>> -> Source<'TElem, NotUsed>
Parameters
- state
- Type: TState
TBD - unfold
- Type: SystemFuncTState, TupleTState, TElem
TBD
Type Parameters
- TState
- TBD
- TElem
- TBD
Return Value
Type:
SourceTElem,
NotUsedTBD
Exceptions Examples {{{
Source.unfoldInf(0 → 1) {
case (a, b) ⇒ (b → (a + b)) → a
}
}}}
See Also