// This corresponds to the `Where` method in Rx.