 | SourceOperations.Grouped<TOut, TMat> Method |
Chunk up this stream into groups of the given size, with the last group
possibly smaller than requested due to end-of-stream.
n must be positive, otherwise
ArgumentException is thrown.
Emits when the specified number of elements has been accumulated or upstream completed
Backpressures when a group has been assembled and downstream backpressures
Completes when upstream completes
Cancels when downstream cancels
Namespace:
Akka.Streams.Dsl
Assembly:
Akka.Streams (in Akka.Streams.dll) Version: 1.2.3.129 (1.2.3.129)
Syntaxpublic static Source<IEnumerable<TOut>, TMat> Grouped<TOut, TMat>(
this Source<TOut, TMat> flow,
int n
)
[<ExtensionAttribute>]
static member Grouped :
flow : Source<'TOut, 'TMat> *
n : int -> Source<IEnumerable<'TOut>, 'TMat>
Parameters
- flow
- Type: Akka.Streams.Dsl.Source<TOut, TMat>
TBD - n
- Type: System.Int32
TBD
Type Parameters
- TOut
- TBD
- TMat
- TBD
Return Value
Type:
Source<IEnumerable<TOut>,
TMat>TBD
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Source<TOut,
TMat>. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Exceptions
See Also