Creates a task filtering stream items based on a predicate.
Items are processed sequentially and output order is preserved.
The type of items in the stream
The function to test each item
A task that filters items based on the predicate
Creates a task filtering stream items based on a predicate.
Items are processed sequentially and output order is preserved.