| SourceFromT Method |
Helper to create
SourceTOut, TMat from
IEnumerableT.
Example usage: Source.From(Enumerable.Range(1, 10))
Starts a new
SourceTOut, TMat from the given
IEnumerableT. This is like starting from an
Enumerator, but every Subscriber directly attached to the Publisher of this
stream will see an individual flow of elements (always starting from the
beginning) regardless of when they subscribed.
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> From<T>(
IEnumerable<T> enumerable
)
static member From :
enumerable : IEnumerable<'T> -> Source<'T, NotUsed>
Parameters
- enumerable
- Type: System.Collections.GenericIEnumerableT
TBD
Type Parameters
- T
- TBD
Return Value
Type:
SourceT,
NotUsedTBD
See Also