| SourceOperationsWhereTOut, TMat 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.42 (1.2.3.42)
Syntax public static Source<TOut, TMat> Where<TOut, TMat>(
this Source<TOut, TMat> flow,
Predicate<TOut> predicate
)
[<ExtensionAttribute>]
static member Where :
flow : Source<'TOut, 'TMat> *
predicate : Predicate<'TOut> -> Source<'TOut, 'TMat>
Parameters
- flow
- Type: Akka.Streams.DslSourceTOut, TMat
TBD - predicate
- Type: SystemPredicateTOut
TBD
Type Parameters
- TOut
- TBD
- TMat
- TBD
Return Value
Type:
SourceTOut,
TMatTBD
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
SourceTOut,
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