| SubFlowOperationsWhereTOut, TMat, TClosed Method |
Only pass on those elements that satisfy the given
predicate.
Emits when the given predicate returns true for the element
Backpressures when the given predicate returns true for the element 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)
Syntax public static SubFlow<TOut, TMat, TClosed> Where<TOut, TMat, TClosed>(
this SubFlow<TOut, TMat, TClosed> flow,
Predicate<TOut> predicate
)
[<ExtensionAttribute>]
static member Where :
flow : SubFlow<'TOut, 'TMat, 'TClosed> *
predicate : Predicate<'TOut> -> SubFlow<'TOut, 'TMat, 'TClosed>
Parameters
- flow
- Type: Akka.Streams.DslSubFlowTOut, TMat, TClosed
TBD - predicate
- Type: SystemPredicateTOut
TBD
Type Parameters
- TOut
- TBD
- TMat
- TBD
- TClosed
- TBD
Return Value
Type:
SubFlowTOut,
TMat,
TClosedTBD
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
SubFlowTOut,
TMat,
TClosed. 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