| FlowOperationsSplitAfterTIn, TOut, TMat Method (FlowTIn, TOut, TMat, FuncTOut, Boolean) |
This operation applies the given predicate to all incoming elements and
emits them to a stream of output streams. It *ends* the current substream when the
predicate is true.
Namespace:
Akka.Streams.Dsl
Assembly:
Akka.Streams (in Akka.Streams.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax public static SubFlow<TOut, TMat, Sink<TIn, TMat>> SplitAfter<TIn, TOut, TMat>(
this Flow<TIn, TOut, TMat> flow,
Func<TOut, bool> predicate
)
[<ExtensionAttribute>]
static member SplitAfter :
flow : Flow<'TIn, 'TOut, 'TMat> *
predicate : Func<'TOut, bool> -> SubFlow<'TOut, 'TMat, Sink<'TIn, 'TMat>>
Parameters
- flow
- Type: Akka.Streams.DslFlowTIn, TOut, TMat
TBD - predicate
- Type: SystemFuncTOut, Boolean
TBD
Type Parameters
- TIn
- TBD
- TOut
- TBD
- TMat
- TBD
Return Value
Type:
SubFlowTOut,
TMat,
SinkTIn,
TMatTBD
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
FlowTIn,
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).
See Also